Update AI model selection for a topic
Sets the topic-level override. An empty array clears the override so the topic inherits the domain selection (or the organization selection when the domain has none).
X-API-Key<token>API Key for programmatic access
domainId*stringDomain identifier
topicId*stringTopic identifier
application/json- body
selectedModels*array<string>AI model identifiers to run for this topic. An empty array clears the override so the topic inherits the domain selection (or the organization selection when the domain has none).
Updated topic model selection and fallback state
application/json- response
selectedModels?array<string>Topic-level override; empty when the topic inherits from its parents.
effectiveModels?array<string>Models the pipeline will run for this topic 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.
"topic""domain""organization""plan-default"fallbackToParent?booleandomainSelectedModels?array<string>organizationSelectedModels?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/topics/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": "topic", "fallbackToParent": false, "domainSelectedModels": [], "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": [] } } ]}