Messages
Send Message (Streaming)
Sends a new message to an existing chat and returns a Server-Sent Events stream. Events include the initial assistant-message snapshot, content chunk deltas, final usage, and a closing message snapshot. The response is text/event-stream; each event is data: <JSON>\n\n where the JSON conforms to MessageStreamEvent.
post/chats/{chatId}/messages/stream
Path parameters
chatIdstring required
The unique identifier of the chat.
Request body
Response
A single Server-Sent Events payload emitted by the streaming send-message endpoint. Each SSE event is data: <JSON>\n\n where the JSON conforms to one of the union members.