Create or continue a chat with a streaming response
Create a chat with a specific agent, or continue an existing chat. Any document that you have access to that is in the agent’s knowledge base could be used to answer questions.
Rate Limits
600 requests per minute.
Approval-required events
If the agent reaches an ask-first action while streaming, the stream emits atool_approval_request event and then ends normally. Resume the paused chat with POST /chats/{chat_id}/approvals.
Rate Limits
600 requests per minute.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The content of the user message.
Deprecated. Use agent_id instead.
The ID of the chat to continue. If not provided, a new chat will be created.
"123"
Enable research mode for this chat. Only works if the agent has research mode enabled ('optional' or 'always_on').
The style of citations to use. 'remove' will not show any citations, 'link' will format them as URLs.
link, remove The format of the content returned. 'markdown' includes formatting, 'text' returns plain text.
markdown, text Prompt variables as input to the agent.
When enabled for non-streaming responses, return only the final answer text, excluding intermediate reasoning, thinking steps, and agent narration. Has no effect on streaming responses.

