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, then packages the result as a single downloadable archive.
A deployment can have only one active static export job at a time. Starting a job while another is queued or running returns 409. Rate-limited to 10 job starts per organization per hour.
Static export is available on Enterprise plans.
Authenticate with an admin API key.
Authorizations
The Authorization header expects a Bearer token. Use an admin API key. This is a server-side secret key. Generate one on the API keys page in your dashboard.
Path Parameters
Response
The export job was accepted and queued.
Unique identifier for the static export job.
"6520f3a1c9b1a20012ab34cd"
The current state of the job.
queued, running, completed, failed "completed"
When the job was created.
When the job last transitioned state.
A human-readable error message. Present only when status is failed, otherwise null.
A time-limited presigned S3 link to the static export bundle archive. Present only when status is completed. Download the bundle before expiresAt. Call this endpoint again to get a fresh link.
"https://mintlify-static-exports.s3.amazonaws.com/6520f3a1c9b1a20012ab34cd/export.zip?X-Amz-Signature=..."
The size of the bundle in bytes. Present only when status is completed.
18432000
When the current bundleUrl expires. Present only when status is completed.