Jobs
Cancel Job
Changed onCancel an active job.
A held execution answers 409: it settles only through its hold (decide, withdraw or expiry), never by cancelling the job.
post/jobs/{job_id}:cancel
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /jobs/{job_id}:cancel
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL /authorize, token URL /oauth/token)
Path parameters
job_idstring required
ID of the job.
Example:job_6968b3985e8c9902207afaeb
Response
Successful Response
Example response
{
"_links": {
"execution": "https://jentic.example.com/executions/exec_6968b3982706c619fe73f0cf",
"result": "https://jentic.example.com/jobs/job_6968b3985e8c9902207afaeb/result",
"self": "https://jentic.example.com/jobs/job_6968b3985e8c9902207afaeb"
},
"actor_id": "agnt_6968b3984d1c238dbe7e2e29",
"actor_type": "agent",
"created_at": "2026-01-15T09:30:00Z",
"error": "Upstream returned HTTP 502 Bad Gateway",
"execution_id": "exec_6968b3982706c619fe73f0cf",
"job_id": "job_6968b3985e8c9902207afaeb",
"kind": "execution",
"status": "completed",
"updated_at": "2026-01-15T09:30:05Z"
}Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
- info
the endpoint scheme security
OAuth2was added to the API
- info