Ask a question (SSE)
POST/chats/stream
Enables streaming question-based interactions across multiple Media assets using Server-Sent Events (SSE). It supports querying all assets, a subset of filtered assets, or specific assets within the tenant's Channels.
- For audio and video assets, responses are derived from metadata such as available transcripts and speakers across the selected assets.
- For document assets, responses are based on both the metadata and content of the relevant documents within the query scope.
The response is streamed using SSE, where each event contains a chunk of the response. The final event will have data: {Token: "", isComplete: true}.
Request
Responses
- 200
- 401
- 404
- 422
- default
Successful streaming response using Server-Sent Events (SSE).
Unauthorized access.
Given resource was not found.
Invalid data provided.
Error Response