API overview¶
This reference is generated from Python source and docstrings, including signatures, parameter types, and response models. For a runnable workflow rather than a method signature, use the examples hub.
| Category | Start here |
|---|---|
| Client & configuration | Client, AsyncClient, Config, Settings, and connection primitives |
| Chat | Completions, stream helpers, and response models |
| Audio | TTS, ASR, realtime sessions, and audio customization |
| Protocols and transport | Chat protocol adapters, HTTP/SSE, and WebSocket |
| Client resources | Multimodal, retrieval, generation jobs, files, and other resources |
| AgentStudio | Managed agent resources, events, models, and parameters |
| Types | Messages, completions, pagination, and response parsing |
| Errors and devkit | Exception hierarchy, HTTP mocks, and local diagnosis |
| Legacy API | Frozen 1.x surface; see the migration guide for changes |
For the Python-specific training APIs, see Agentic RL.