ConfigurationGet site configuration

Get site configuration

Returns the complete documentation.json file — the navigation tree, branding, SEO settings, and integrations.

curl -X GET "https://api.documentationai.app/api/v1/config?branch=example_string" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "branch": "main",
  "config": {}
}
GET
/config
GET
Bearer Token
Bearer Tokenstring
Required

API key generated from the Documentation.AI dashboard (Settings → API Keys). Pass as Authorization: Bearer dai_...

API key generated from the Documentation.AI dashboard (Settings → API Keys). Pass as Authorization: Bearer dai_...
query
branchstring

Branch name. Defaults to the deployment branch.

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. API key generated from the Documentation.AI dashboard (Settings → API Keys). Pass as Authorization: Bearer dai_...

Query Parameters

branchstring

Branch name. Defaults to the deployment branch.

Responses

branchstring

Resolved branch name

configobject

The full documentation.json configuration object