Set current active AI model for organization
AI Models
Set current active AI model for organization
Legacy endpoint that sets the organization-wide active model by writing currentAiProviderIndex, currentAiModelIndex and currentAiModelVercelUniqueName. SUPERADMIN-only and tenant-scoped. Superseded by section-based model assignments.
POST
Set current active AI model for organization
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
Position in the legacy aiProviders[] array. Superseded by section assignments.
modelName to activate within the chosen provider; must exist in that AiModel's modelDetails.
ObjectId of the AiModel registry entry whose vercelUniqueName becomes the org's current provider.