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
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
- 200
- 400
- 401
- 403
- 404
- 408
- 413
- 422
- 429
- 500
- 503
Successful response.
Invalid request (malformed JSON, invalid parameter values, unknown fields).
Missing or invalid authentication token.
Token valid but lacks permission for the requested operation.
Resource not found.
Backend did not respond within the timeout window.
Request body exceeds the maximum allowed size.
Syntactically valid but semantically incorrect request.
Rate limit exceeded. Includes Retry-After header.
Unexpected server-side failure.
Backend temporarily unavailable.