Skip to main content

Create a chat response

POST 

/api/chat

experimental

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

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.