Start static export job
Start a static export job for a deployment. The job pre-renders your documentation into a self-contained set of static HTML, RSC, and asset files. Returns a job ID you can use to poll status and, once complete, generate a downloadable bundle.
Static export is available on Enterprise plans.
Authorizations
Admin API key. Generate one on the API keys page in your dashboard.
Body
The domain of the deployment to export, for example docs.example.com.
"docs.example.com"
An optional version label to tag this export. Defaults to the latest published version.
"2024-06-01"
An optional list of page paths to include. When omitted, every published page is exported.
[
"index",
"guides/getting-started",
"api-reference/introduction"
]Response
The export job was accepted and queued.
Unique identifier for the static export job.
"se_3f9a2c1b8e7d4a06"
The current state of the job.
queued, running, completed, failed "running"
Completion percentage from 0 to 100.
0 <= x <= 10042
The number of pages exported so far.
128
When the job was created.
When the job was last updated.
A human-readable error message. Present only when status is failed.