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
Changes
Changed in 1 of the 48 revisions of this API.1
- ○
endpoint added
endpoint-added
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○