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.
A 500 means the stop could not be handed to its worker: the execution is running again, so the stop can be sent
again, but its execution.stop_requested event stays on the stream. When the API cannot tell whether the hand-off
arrived, the execution stays stopping until its run ends.

