Skip to main content
POST
Cancel AI job

Authorizations

Authorization
string
header
required

Can be either an Organization API Key or Personal Access Token (PAT).

Include in the Authorization header as: Bearer YOUR_TOKEN

Path Parameters

jobId
string<uuid>
required

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.

jobId
string<uuid>

The unique identifier for the cancelled job

state
enum<string>

The job's state after the cancellation attempt. CANCELLED if the cancellation succeeded. If the job was already in a terminal state (COMPLETE, FAILED, CANCELLED), the current state is returned unchanged.

Available options:
CANCELLED,
COMPLETE,
DELIVERING,
EXECUTING,
FAILED,
QUEUED