cancel_job()
relationalai.api
cancel_job(reasoner_type STRING, id STRING)A procedure that cancels a running or queued job.
Requires the all_schema_rw application role.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
reasoner_type | STRING | Reasoner type (for example, 'predictive'). |
id | STRING | Job ID. |
Returns
Section titled “Returns”STRING
Example
Section titled “Example”Cancel a job:
CALL relationalai.api.cancel_job('predictive', 'abc123');