Skip to content

get_job_metadata()

relationalai.api
get_job_metadata(reasoner_type STRING, id STRING)

A procedure that retrieves metadata for a specific job. Requires the all_schema_ro application role.

NameTypeDescription
reasoner_typeSTRINGReasoner type (for example, 'predictive').
idSTRINGJob ID.

A table with the following columns:

ColumnTypeDescription
JOB_IDSTRINGJob ID.
STATESTRINGJob state.
ERROR_MESSAGESTRINGError message (if applicable).
RESULT_METADATASTRINGResult metadata payload.

Get metadata for a job:

CALL relationalai.api.get_job_metadata('predictive', 'abc123');