Skip to main content
Read and manage your org’s model governance: the allow-list of enabled models, the default model, disabled providers, and fallback routing. This is the same governance the in-app Settings → AI Workspace → Models page manages, and it is enforced identically on every surface. Reads require models.read; the update requires models.write (both included in control:read). Access carries no plan-tier floor: premium models are off by default to prevent cost surprises, and any tier can enable any model by adding its id to allowed_model_ids. Use Models to discover ids and their default_off/premium state.
This endpoint manages the API-accessible slice of your model configuration. Model ids that are not API-accessible — enabled in-app or referenced in a fallback chain — are preserved untouched by updates here and are not shown in allowed_model_ids or fallback_chain. fallback_chain is returned only when fallback_mode is manual.

Get model access

Response

Fields


Update model access

All fields are optional. Send only what you want to change. An empty body returns the current state without modifying anything.

Body

Response

Returns the updated state in the same shape as the GET response. Changes are recorded in the audit log tagged source: api: model_access.updated when the enabled list, disallowed providers, or fallback routing change, and model_access.default_changed when the default model changes. A change to only the default model emits model_access.default_changed alone.

Error codes