Create site
Requires the admin role. The platform creates a hosted Git repository for the site, writes the template, and starts the first production deployment right away.
starter: three pages: introduction, quickstart, and a writing guide.blank: a single home page.openapi: an API reference generated fromopenapiText, which is required.
slug is the site's subdomain: 5–40 lowercase letters, numbers, or single hyphens, not starting or ending with a hyphen, and without -- (preview URLs use -- as a separator). Some reserved words (such as console, managements, and butterix) aren't available. The site's URL is https://<slug>-sites.butterix.com.
Authentication
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.
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
Response
cli (upload), hosted (hosted repository), or git
Who triggered it; with an API key, the person who created the key
The name, start and end of the key, when triggered with an API key (CLI / CI)
First 10 characters of the key
Last 10 characters of the key
Reason for failure
Present after success. Production deployments have the site's URL; previews use a <site>--<last 8 characters of the id> subdomain
Whether this is the current production deployment
Whether this is the primary domain
TXT record to add
CNAME target
Whether a site key is set
Whether the platform has a default key for the current provider
Whether each provider has a platform key
Reasoning effort; null uses the model's suggested level
Days to keep questions; null keeps them forever
Maximum questions that call the model in a rolling 24 hours; null means no limit
Whether console AI is on
Whether documentation gaps are sorted every day
Contact when AI has no answer