Streaming Chat
Sends a message to a chat session and streams the response word by word.
Path parameters
session_id
Chat session ID
Request
This endpoint expects an object.
prompt
The user's message.
Response
Streaming response with Server-Sent Events (SSE) format. Each chunk is a JSON object with different types: ‘start’ (session started), ‘token’ (word/token), ‘complete’ (response finished), ‘metadata’ (message info, suggestions, title), ‘end’ (stream finished), ‘error’ (error occurred).
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error

