Create a turn in a session
Agent Harness
Create a turn in a session
Start or continue a turn within a session. Responds with a Server-Sent Events stream.
Use previous_turn_id to chain to the session’s last turn (defaults to auto).
POST
Error
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Session identifier (.).
Minimum string length:
1Example:
"01arz3ndektsv4rrffq69g5fav.g"
Body
application/json
Response
Server-Sent Events stream of turn events.
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
- Option 9
- Option 10
- Option 11
- Option 12
Available options:
model.message Unique identifier for the event
Available options:
stop, length, tool_calls, content_filter, function_call