fleet threads
Stream a thread run
Start a run on a thread and stream its output as Server-Sent Events. The connection stays open until the run completes; the client is responsible for closing it.
post/v1/fleet/threads/{thread_id}/runs/stream
Path parameters
thread_idstring required
Thread ID
Request body
Example request
{
"messages": [
{
"content": "what is your name?",
"role": "user"
}
]
}Response
SSE event stream
string required