Skip to main content
POST
/
v1
/
ai
/
jobs
/
{jobId}
/
cancel
Cancel AI job
curl --request POST \
  --url https://{instance}.omniapp.co/api/v1/ai/jobs/{jobId}/cancel \
  --header 'Authorization: Bearer <token>'
{
  "jobId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "state": "CANCELLED"
}

Documentation Index

Fetch the complete documentation index at: https://docs.omni.co/llms.txt

Use this file to discover all available pages before exploring further.

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

Job cancelled successfully

jobId
string<uuid>

The unique identifier for the cancelled job

state
enum<string>

The new state of the job

Available options:
CANCELLED