Skip to content

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

Create custom answer

POSThttps://api.butterix.com/v1/sites/:site/guidance

Requires the editor role. When a reader's question is close to one of the example questions, Ask AI answers from document first. A site can have up to 200.

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

Request

This endpoint expects an object.
contextlist of stringsRequired1-20 items

Example questions

documentstringRequired<=8000 characters

Answer (Markdown)

enabledbooleanOptionalDefaults to true

Response

New entry
idstringOptional
contextlist of stringsOptional

Example questions

documentstringOptional

Answer (Markdown)

enabledbooleanOptional
createdAtintegerOptional
updatedAtintegerOptional

Errors