Cancel Run
Cancel a running or queued job.
Cancel Run
http
POST /api/v1/runs/:runId/cancelCancels a queued or running job. Tokens for incomplete work are refunded.
Example Request
bash
curl -X POST \
-H "Authorization: Bearer bnn_live_xxx" \
"https://banan0.com/api/v1/runs/run_abc123xyz/cancel"Example Response
json
{
"data": {
"run_id": "run_abc123xyz",
"status": "CANCELED",
"canceled_at": "2026-01-13T20:00:10.000Z"
}
}Notes
QUEUED or EXECUTING