Update Ask AI settings
PUThttps://api.butterix.com/v1/sites/:site/ai
Requires the admin role. Only the fields you pass are updated.
- When
providerchanges withoutmodel, the model resets to that provider's default; withoutapiKey, the old key is removed (keys belong to a provider). apiKey: nullremoves the site's key and falls back to the platform key, if there is one. Keys are stored encrypted with AES-256-GCM.- The levels
effortcan take come from the model (seereasoningin the model list); an unsupported level is moved to the nearest one, andnulluses the model's suggested level. dailyLimitcaps questions that call the model in a rolling 24 hours (1–1000000);nullmeans no limit, and the default is 200.
Authentication
Authorization
An organization API key, created in the console under Organization settings → API Keys, starting with biti_. It acts as editor and can't do anything that requires admin.
biti_session
The HttpOnly session cookie set on login. Requests that change data must be same-origin (the Origin header is checked) to prevent CSRF.
Path parameters
Request
This endpoint expects an object.
Switch for console AI (agent, scheduled tasks, AI translation, documentation gaps), independent of Ask AI
Response
Updated settings