Cancel an agent run
POST/cases/:caseId/agent/runs/:runId/cancel
Stops the run after its current turn. Idempotent for a cancelled run; answers 409 for a run that already finished. Agent tokens cannot cancel runs.
Request
Responses
- 200
- 403
- 404
- 409
Ok
An agent token cannot cancel a run
Case or run not found
The run already finished