Skip to content

Cancel a run (ADR-0054): drive its non-terminal steps and the run to `Cancelled` durably and enqueue the Pod-teardown intent the driver executes (SIGTERM + grace via the backend). Idempotent — cancelling a terminal run is a 409; an unknown run is a 404.

POST
/v1/runs/{id}/cancel
curl --request POST \
--url https://example.com/v1/runs/example/cancel
id
required
string

Run id

Cancellation recorded; Pods tear down asynchronously

No such run

Run already terminal