Update AI assistant settings
Changes the assistant settings. anthropicApiKey stores a new key (sealed; null removes it); omitted fields keep their value. The key is checked with a cheap request before it is saved.
Needs settings.manage, which owners and admins hold. Not available to MCP clients or the assistant.
seylo_session<token>application/json- body
enabled?booleananthropicApiKey?|nullrouting?monthlyBudgetUsd?|nullallowMembers?booleanSuccess.
application/json- response
enabled*booleankeySet*booleankeyHint*stringrouting*monthlyBudgetUsd*|nullallowMembers*booleancurl -X POST 'https://example.com/api/v1/ai.updateSettings' \ -H 'Content-Type: application/json' \ -d '{}'{ "enabled": true, "keySet": true, "keyHint": "string", "routing": { "mode": "auto", "model": "haiku", "allowOpus": true }, "monthlyBudgetUsd": 0, "allowMembers": true}Get AI assistant settings GET
Returns whether the assistant is on, whether a key is stored, the model routing and the monthly budget. Needs `settings.view`, which owners and admins hold. Not available to MCP clients or the assistant.
Get AI usage and the projected bill GET
Returns token use and cost for a month (default the current one, UTC) by model, by day and by person, the budget, and the bill projected from the pace so far. Needs `settings.view`, which owners and admins hold. Not available to MCP clients or the assistant.