Skip to content

Cancel a job

POST
/api/v1/jobs/{job_id}/cancel

Cancels a queued or running job. Jobs that have already completed or failed cannot be cancelled.

Authorizations

HTTPBearer
Type
HTTP (bearer)

Parameters

Path Parameters

job_id*
Type
string
Required
Format
"uuid"

Responses

Successful Response

application/json
JSON
{
"id": "string",
"job_type": "string",
"status": "string",
"progress_current": 0,
"progress_total": 0,
"progress_detail": [
],
"result": {
},
"error": "string",
"created_at": "string",
"started_at": "string",
"completed_at": "string"
}

Playground

Server
Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

XC AI Content Automation