agent-runs
Cancel an agent run
Requests cancellation of a running agent run. Cancellation is asynchronous — poll GET /v1/agent-runs/{id} to observe the terminal "cancelled" phase.
post/v1/agent-runs/{id}/cancel
Path parameters
idstring required
Run ID
Response
OK
Example response
{
"code": 200,
"data": {
"ok": true
},
"message": "success",
"requestId": "abc-123"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.