Skip to main content
Stop a running execution.

POST /revisions/:id/data/command (Command: stop_execution)

Request Body

Response

Returns {"status": "success"} — no body beyond the status. The command raises execution.stop_requested on the session’s stream and returns; the execution ends later. execution.ended is best-effort: a stopped execution can end without it, so do not wait on that event alone. Read the execution’s status with Get Execution. See Types.

Example