Cancel AI job
Changed onRequest cancellation of an AI job. This endpoint is idempotent — calling it on an already-cancelled or completed job returns success with the current state.
- For QUEUED jobs, cancellation is immediate
- For EXECUTING jobs, the worker will stop after completing its current iteration
- Jobs in a DELIVERING state cannot be cancelled as they are already finalizing results. Only the job owner or organization admins can cancel jobs.
Request
- Base URLhttps://blobsrus.omniapp.co/api
- URLhttps://blobsrus.omniapp.co/api/v1/ai/jobs/{jobId}/cancel
- AuthHTTP bearer
Path parameters
The unique identifier of the AI job to cancel
Response
Cancellation request processed. The state field indicates the job's state after the attempt — CANCELLED if successful, or the current terminal state if the job had already completed.
Changes
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
added the new
COMPLETEenum value to theresponse property for the response status - warning
added the new
DELIVERINGenum value to theresponse property for the response status - warning
added the new
EXECUTINGenum value to theresponse property for the response status - warning
added the new
FAILEDenum value to theresponse property for the response status - warning
added the new
QUEUEDenum value to theresponse property for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- warning