context
Cancel a context add job
Attempts to cancel a context add job by job id.
- If the job is already completed or failed, returns 404.
- If the job is currently running ("active"), returns 409 and cannot be cancelled.
- Only jobs in "waiting" or "delayed" state can be cancelled.
delete/api/v1/context/add-async/{id}/cancel
Path parameters
idstring required
Job ID to cancel
Response
Job cancelled successfully
Example response
{
"success": true,
"jobId": "job_01HXYZABC",
"status": "cancelled",
"message": "Job cancelled successfully"
}