turns
Stream Turn
Changed onRun one Turn and stream its activity as Server-Sent Events.
The stream ends with one outcome event followed by the terminal done envelope when run_turn reached it; a worker that stops earlier still closes the stream with one terminal event. A client disconnect cancels a Turn without an observed outcome; after an outcome it preserves the completed Turn's warm root. The Session stays locked until sandbox work has drained.
post/sessions/{session_id}/turn
Request
- The document declares no server URL.
- Authnone declared
Path parameters
session_idstring required
Request body
Response
Server-Sent Events for Turn status, activity, completion, or failure.
Changes
- info
added the new optional request property
- info
- info
added the non-success response with the status
- info