Python (SDK)
Models
Set this org's auto policy for an endpoint
Stores either the existing direct { endpoint → modelId } alias or a balanced policy with an LLM judge and candidate models. Balanced routing is supported for responses, completions, transcriptions, and TTS. All configured models must be active when written; revoked candidates are filtered at request time, while an unavailable judge is an explicit error.
PUT
Python (SDK)
Authorizations
Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.
Path Parameters
Available options:
responses, completions, embeddings, images, transcriptions, tts Body
application/json
- Option 1
- Option 2
The model id this org's "auto" should resolve to directly. Cannot be the literal string "auto".
Required string length:
1 - 255