API
Chat completions
Send OpenAI-compatible chat, vision, streaming, and tool requests.
Endpoint
The primary conversational endpoint.
Example
POST /v1/chat/completionsStreaming
Set stream to true to receive server-sent events. Tool calls and supported content parts are adapted for the selected model.