Endpoint
Authentication
Required. You must be signed in with a valid session cookie. Calls without a session receive a401 response. See the Authentication guide for how to obtain a session.
Rate limit
30 requests per minute per authenticated user. Exceeding this limit returns a429 response.
Request
SetContent-Type: application/json and send a JSON body containing the full conversation history.
Body parameters
array
required
The conversation history as an array of message objects. Each message must have a
role and content field.Example request
Response
The response is a Server-Sent Events (SSE) stream withContent-Type: text/event-stream. The stream delivers the assistant’s reply in incremental text chunks, interleaved with tool call events when the assistant needs to look up live data.
The stream closes automatically when the assistant finishes its response.
Stream events
The assistant emits several types of events during a response:Tool names
The assistant has access to these tools. Tool call events in the stream identify which tool is running:Use a streaming-capable client to consume this endpoint. Any SSE-capable HTTP client or
EventSource implementation can consume the stream. The stream closes automatically when the assistant finishes its response.Example stream output
The following shows an abbreviated stream for a price query. Each line beginning withdata: is one SSE event.