Retrieve the model availability settings for an organization. Returns which providers and models are disabled, and the default model key.
GEThttps://api.aitronos.com/v1/organizations/{organization_id}/model-settings
Any authenticated member of the organization can retrieve model settings. Settings are created with defaults on first access if they do not yet exist.
organization_id string required
The unique identifier of the organization (e.g., org_abc123def456).
An OrganizationModelSettingsResponse object containing:
disabled_providers-- list of provider slugs that are disabled for the organization (default:[]).disabled_models-- list of model keys that are disabled for the organization (default:[]).default_model_key-- the default model key for the organization, ornullif not set.updated_at-- ISO 8601 timestamp of the last update, ornullif never updated.updated_by-- user ID of who last updated the settings, ornull.
cURL
- Bash
- Python
- Python
- JavaScript
curl "https://api.aitronos.com/v1/organizations/org_abc123def456/model-settings" \
-H "Authorization: Bearer $ACCESS_TOKEN"