Conversational Agent
Create Turn
Run one conversation turn. Omit conversation_id to create the thread with this turn; pass it to continue an existing thread.
POST
Python
See Run a turn and Streaming events.
Headers
Body
application/json
Run one turn. Without conversation_id a new thread is created first.
Response
text/event-stream of TurnEvent objects (one data: JSON frame each), terminated by data: [DONE]. With stream: false, a buffered TurnResult JSON body instead.