Skip to main content

Create a streaming 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 as server-sent events. HTTP clients request this mode by setting stream to true in the JSON body.

Request

Responses

Successful response.