Skip to main content

Stop running task

POST 

/v1/sessions/:session_id/stop

Stops the session's running task, if any; the task then ends with a task.stopped event on the session's event stream. Returns that task's task_id, or null when no task was running.

Request​

Responses​

Successful Response