DocsAPIChat completions

API

Chat completions

Send OpenAI-compatible chat, vision, streaming, and tool requests.

Endpoint

The primary conversational endpoint.

Example
POST /v1/chat/completions

Streaming

Set stream to true to receive server-sent events. Tool calls and supported content parts are adapted for the selected model.