Skip to main content
Stop a run that is READY or RUNNING. Stopping is asynchronous: the request is acknowledged with 202 and status STOPPING; poll GET /v1/runs/:runId for the terminal state.

Headers

Path Parameters

Example Request

202 Accepted

The stop request was accepted. The run transitions to STOPPING and settles asynchronously — poll GET /v1/runs/:runId for the terminal state.

409 Conflict

Returned when the run cannot be stopped:
  • The run is already terminal (COMPLETED, FAILED, BLOCKED, STOPPED, TIMED_OUT)
  • The endpoint does not support stopping (stoppable: false on the run)
A 403 is returned if the run belongs to a different workspace.
The settlement depends on the endpoint’s pricing model: runs on metered endpoints bill for the usage accrued before the stop and settle as COMPLETED; all other stopped runs settle as STOPPED and are zero-billed.