Skip to main content

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

Successful streaming response using Server-Sent Events (SSE).