Gracefully stop a running run

Sends SIGTERM to the container so the shutdown reconcile sweep

POST /api/v1/runs/{runId}/stop

Sends SIGTERM to the container so the shutdown reconcile sweep captures any final file changes. Fires the completion webhook (if callbackUrl was set). Idempotent — already-stopped runs return 200 with alreadyStopped: true.

Authentication

Requires a project API key — see Authentication.

Parameters

NameInTypeRequiredDescription
runIdpathstringrequiredUUID of the run.

Responses

StatusDescription
200Already stopped.
202Stop signal sent.
404Resource not found or not accessible to this project.

Tag: Interactions