API Overview
Read your published documentation from any frontend with the headless API.
The headless API returns published content as JSON or HTML. It is read-only and only ever exposes published pages.
Base URL#
https://your-docubara-host/api/public/{project}
Authentication#
Public projects need no authentication. Private and password-protected projects require an API key created under Integrations → API keys:
curl https://your-docubara-host/api/public/acme/pages \
-H "Authorization: Bearer dbk_your_key"
Rate limits#
Each client may send 120 requests per minute. Responses include standard RateLimit headers.
Errors#
Status | Meaning |
|---|---|
| Project is not public and no valid API key was sent |
| Project, version or page does not exist or is not published |
| Rate limit exceeded |