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.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
reasoner_type | STRING | Reasoner type. Supported values are 'predictive' and 'prescriptive'. |
id | STRING | Job ID. |
Returns
Section titled “Returns”STRING
Example
Section titled “Example”Cancel a job:
CALL relationalai.api.cancel_job('predictive', 'abc123');