Start a new chat and stream the reply
POST
Start a new chat and stream the reply
Authorizations
Send your API key in the Authorization header as Bearer API_KEY.
Body
application/json
Required string length:
1 - 50000Available options:
auto, anthropic/claude-opus-4.8, anthropic/claude-sonnet-4.6, anthropic/claude-haiku-4.5, openai/gpt-5.4, openai/gpt-5.5 Available options:
off, low, medium, high Required string length:
1 - 100- Option 1
- Option 2
Response
Streaming UI message stream (newline-delimited JSON chunks). Read the X-Chat-Id response header for the chat id, or take it from the start chunk's messageMetadata.chatId.
The response is of type string.
Last modified on July 6, 2026
Start a new chat and stream the reply