API ReferenceAi Settings
aiSettings.update
Type: Mutation · Auth: Workspace admin
Input
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| provider | enum(openai, anthropic, google) | No | — | Provider |
| chatModel | string | No | — | Chat model |
| embeddingModel | string | No | — | Embedding model |
| askModel | string | No | — | Ask model |
| openaiApiKey | string | No | — | Openai api key |
| anthropicApiKey | string | No | — | Anthropic api key |
| googleApiKey | string | No | — | Google api key |
Example
{
"provider": "openai",
"chatModel": "example",
"embeddingModel": "example",
"askModel": "example",
"openaiApiKey": "example",
"anthropicApiKey": "example"
}