Skip to content

cancel_job()

relationalai.api
cancel_job(reasoner_type STRING, id STRING)

A procedure that cancels a running or queued job on a predictive or prescriptive reasoner. Logic reasoners use the transaction APIs instead. Requires the all_schema_rw application role.

NameTypeDescription
reasoner_typeSTRINGReasoner type. Supported values are 'predictive' and 'prescriptive'.
idSTRINGJob ID.

STRING

Cancel a job:

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