Chat
Stream Messages
Stream agent events for a chat turn as Server-Sent Events.
post/api/v1/chat/{session_id}/messages/stream
Path parameters
session_idstring required
Query parameters
project_idstring uuid nullable
organization_idstring uuid nullable
Cookies
sessionstring nullable
Request body
Example request
{
"index_ids": [
"idx-abc123",
"idx-def456"
],
"prompt": "What were the main findings in Q3?"
}Response
Successful Response
{"stackTrail":"paths:/api/v1/chat/{session_id}/messages/stream:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}
Changes
Changed in 4 of the 33 revisions of this API.14
- ○
added the optional property
detail/items/ctxto the response with the422statusresponse-optional-property-added
- ○
added the optional property
detail/items/inputto the response with the422statusresponse-optional-property-added
This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 46 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
endpoint added
endpoint-added
- ○