Skip to content

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

Ask AI questions

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

Newest first. Filters can be combined; for the next page, pass the ts of the last item as before.

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

Query parameters

daysintegerOptional1-3650

How many days back; no limit by default

beforeintegerOptional

Only items before this time (Unix milliseconds)

outcomestringOptional

Outcomes, separated by commas

ratingenumOptional

The reader's rating; none for unrated ones

Allowed values:
sourcesenumOptional

none returns only answers without any source

Allowed values:
pagestringOptional

Page the reader asked from

limitintegerOptional<=500Defaults to 50

Number of items, 500 at most

Response

Questions readers asked in Ask AI, with the answers
idintegerOptional
tsintegerOptional
questionstringOptional
answerstringOptional
modelstringOptional
providerenumOptional
Allowed values:
sourceslist of stringsOptional
outcomeenumOptional

Whether it was answered: answered, partial, missing (not in the docs), declined (unrelated to the site), stray (the answer left the site's subject), or failed (incomplete)

Allowed values:
ratingenum or nullOptional

The reader's rating

Allowed values:
pagestring or nullOptional

Page the reader asked from

countrystring or nullOptional

Country code (looked up from the IP)

netstring or nullOptional

Masked network (first three parts of the IP)

agentstring or nullOptional

Browser and system

visitorstring or nullOptional

Anonymous visitor id (changes daily)