curl --request POST \
--url https://api.backside.app/api/v1/agents/{kind}/runs/{id}/cancel \
--header 'Authorization: Bearer <token>'{
"agent_kind": "<string>",
"consecutive_failures": 123,
"cost_usd_cents": 123,
"created_at": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"input": "<unknown>",
"platform_fee_cents": 123,
"run_at": "2023-11-07T05:31:56Z",
"status": "<string>",
"tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"updated_at": "2023-11-07T05:31:56Z",
"budget_usd_cents": 123,
"deadline_at": "2023-11-07T05:31:56Z",
"failure_category": "<string>",
"failure_detail": "<string>",
"output": "<unknown>"
}curl --request POST \
--url https://api.backside.app/api/v1/agents/{kind}/runs/{id}/cancel \
--header 'Authorization: Bearer <token>'{
"agent_kind": "<string>",
"consecutive_failures": 123,
"cost_usd_cents": 123,
"created_at": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"input": "<unknown>",
"platform_fee_cents": 123,
"run_at": "2023-11-07T05:31:56Z",
"status": "<string>",
"tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"updated_at": "2023-11-07T05:31:56Z",
"budget_usd_cents": 123,
"deadline_at": "2023-11-07T05:31:56Z",
"failure_category": "<string>",
"failure_detail": "<string>",
"output": "<unknown>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Run cancelled
A single agent_runs row as exposed over the REST API. Omits the
internal scheduler fields (worker_id, lease_expires_at,
last_heartbeat_at, disable_reason) — those are plumbing for the
claim loop, not API consumers.
Was this page helpful?