Skip to main content

SDK-only logical operation. HTTP clients must call the base path; the URL fragment is not sent. Create a chat response

POST 

/api/chat#stream

experimental

Expect changes and instability. Introduced on July 14, 2026. Learn how experimental APIs work.

SDK-only logical operation. HTTP clients must call the base path; the URL fragment is not sent. Run an assistant turn. The default response is JSON. HTTP clients request server-sent events by setting stream to true in the JSON body. An Accept: text/event-stream header does not replace stream.

Request

Responses

Successful response.