Краткий вывод
- Supports Chat Completions for low-friction SDK migration.
- Supports streaming and tool-calling for agent workflows.
- Stabilize system/messages parameters before production rollout.
Ключевые параметры
- model | string | обяз. | gpt-realtime-1-5-official | - | Exact model identifier from ToAPIs.
- messages | object[] | обяз. | - | - | Conversation messages in chronological order.
- max_tokens | integer | обяз. | - | >=1 | Maximum output tokens.
- stream | boolean | опц. | false | - | Enable SSE streaming output.
- tools | object[] | опц. | - | - | Tool/function definitions for tool-calling.
Частые ошибки
- 400 invalid_request_error: триггер=Missing fields or invalid payload types.; исправление=Validate model/messages/max_tokens schema.; повтор=Retry only after payload fix.
- 401 authentication_error: триггер=Missing or invalid API key.; исправление=Verify Authorization header and key scope.; повтор=Retry after authentication fix.

