Cancel a running job. Only jobs with status ‘pending’ or ‘in_progress’ can be cancelled.
Parameter | Type | Description |
---|---|---|
job_id | string | Unique job identifier |
Field | Type | Description |
---|---|---|
message | string | Confirmation message with job ID |
status | string | New job status (always “cancelled”) |
Status | Description |
---|---|
404 | Job not found or access denied |
500 | Internal server error |
API key in format 'sk-xxxxxxxxxxxxx' or 'sk_xxxxxxxxxxxxx'
Unique job identifier
Job cancelled successfully
The response is of type object
.