Skip to content

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

File tree and navigation

GEThttps://api.butterix.com/v1/sites/:site/editor/tree

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

branchstringOptional

Branch name; the production branch by default

Response

Files on the branch, the resolved navigation (source language and default version), and the text of docs.yml
branchstringOptional
fileslist of objectsOptional
pathstringOptional
sizeintegerOptional
navlist of objectsOptional
typeenumOptional
Allowed values:
titlestringOptional
slugstringOptional
pathstringOptional

Source file

childrenlist of objectsOptional
typeenumOptional
Allowed values:
titlestringOptional
slugstringOptional
pathstringOptional

Source file

childrenobjectOptional
configstringOptional

Text of the config file