Chat
Stream Messages
Changed onStream agent events for a chat turn as Server-Sent Events.
post/api/v1/chat/{session_id}/messages/stream
Request
- Base URL: https://api.cloud.llamaindex.ai (the document declares no server; this is the origin it was published from)
- URL: https://api.cloud.llamaindex.ai/api/v1/chat/{session_id}/messages/stream
- Auth: HTTP bearer
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?",
"require_all_indexes": true
}Response
Successful Response
unknown required
Changes
- info
added the new optional request property
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status
- warning