Update AI model selection for a domain
Sets the domain-level override. An empty array clears the override so the domain inherits the organization selection.
X-API-Key<token>API Key for programmatic access
domainId*stringDomain identifier
application/json- body
selectedModels*array<string>AI model identifiers to run for this domain. An empty array clears the override so the domain inherits the organization selection.
Updated domain model selection and fallback state
application/json- response
selectedModels?array<string>Domain-level override; empty when the domain inherits from the organization.
effectiveModels?array<string>Models the pipeline will run for this domain after fallback resolution.
effectiveSelectableModels?array<string>effectiveModels mapped back to the selectable (availableModels) id space, for pre-checking selection UIs.
source?stringWhich fallback-chain layer produced effectiveModels.
"domain""organization""plan-default"fallbackToOrg?booleanorganizationSelectedModels?array<string>modelFallbacks?array<>Substitutions applied to stale stored model ids.
replacementModels?array<>Metadata for replacement targets that are internal and therefore absent from availableModels.
maxModels?numberavailableModels?array<>curl -X PATCH 'https://api.getmint.ai/api/domains/string/models' \ -H 'Content-Type: application/json' \ -d '{ "selectedModels": [ "openai-gpt5", "anthropic-claude-4.5-sonnet" ]}'{ "selectedModels": [ "openai-gpt5" ], "effectiveModels": [ "openai-gpt5" ], "effectiveSelectableModels": [ "openai-gpt5" ], "source": "domain", "fallbackToOrg": false, "organizationSelectedModels": [ "openai-gpt5", "anthropic-claude-4.5-sonnet" ], "modelFallbacks": [], "replacementModels": [], "maxModels": 3, "availableModels": [ { "id": "chatgpt", "name": "ChatGPT", "brand": "OpenAI", "enabled": true, "webAccess": true, "tier": 2, "fanOutQueriesSupported": true, "availability": { "verifiedMarkets": [ "US" ], "blockedMarkets": [], "blockedRegions": [], "sourcelessMarkets": [], "sourcelessRegions": [] } } ]}