Skip to content

ButterIX v1 is out: versions, multiple languages, Ask AI, and a per-site MCP server, all built in. →

Get Ask AI settings

GEThttps://api.butterix.com/v1/sites/:site/ai

Authentication

AuthorizationBearer

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_sessionstring

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

sitestringRequired

Site slug or id

Response

Current settings (keys are masked)
enabledbooleanOptional
providerenumOptional
Allowed values:
modelstringOptional
hasKeybooleanOptional

Whether a site key is set

keyMaskedstringOptional
platformKeyAvailablebooleanOptional

Whether the platform has a default key for the current provider

platformKeysmap from strings to booleansOptional

Whether each provider has a platform key

guidancestringOptional
effortenum or nullOptional

Reasoning effort; null uses the model's suggested level

Allowed values:
retentionDaysinteger or nullOptional

Days to keep questions; null keeps them forever

dailyLimitinteger or nullOptional

Maximum questions that call the model in a rolling 24 hours; null means no limit

agentbooleanOptional

Whether console AI is on

gapsbooleanOptional

Whether documentation gaps are sorted every day

supportobjectOptional

Contact when AI has no answer

enabledbooleanOptional
urlstringOptional
emailstringOptional