Static export requires an Enterprise plan.
How static export works
A static export runs as an asynchronous job. You start the job, poll for its status, and then generate a downloadable bundle once the job completes.Start a static export job
Call Start static export job with the domain you want to export. The API queues the job and returns a
jobId.Query the job status
Poll Get static export job status with the
jobId until status is completed. The response includes live progress and pageCount while the job runs.Generate the bundle
Call Generate export bundle with the
jobId. The API packages the export into a single archive and returns bundleUrl, a presigned S3 link to the static export bundle. Download it before the link expires.Feature support by deployment
Which features are available depends on how you host your deployment. Air-gapped deployments have no outbound network access, so anything that relies on Mintlify’s cloud services is unavailable. Features labeled Configurable have different availability depending on your environment’s setup.| Feature | Cloud | Client-hosted | Air-gapped |
|---|---|---|---|
| Documentation search | Configurable | ||
| AI assistant | Configurable | ||
| Web analytics | Configurable | ||
| API playground (“Try it”) | Configurable | ||
| Static export bundle |
Endpoints
- Start static export job: Start a static export job for a deployment.
- Get static export job status: Poll the status and progress of a running job.
- Generate export bundle: Package a completed job and return a single S3 link to the bundle.
Authentication
Authenticate requests with your admin API key. Generate an admin API key on the API keys page in your dashboard. Admin API keys begin with themint_ prefix and are server-side secrets—do not expose them in client-side code.
Deploy the bundle to your Enterprise Helm chart
Self-hosted Mintlify is deployed with the Helm chart in themintlify/enterprise repository. Once a static export job produces a bundle, you point the chart at the bundle and the deployment serves it from your own infrastructure.
Add the bundle reference to your values
Set the static export fields in your
values.yaml to the bundleUrl returned by Generate export bundle. The chart fetches the bundle on startup and serves it as the active version.values.yaml
Automate with a GitHub Action
The following template workflow runs the full export loop on a schedule or on demand. It starts a job, polls until the export completes, generates a bundle, and rolls the newbundleUrl into the Helm chart.
.github/workflows/static-export.yml
MINTLIFY_ADMIN_KEY repository secret, and configure cluster credentials (for example, with azure/setup-helm and your kubeconfig) before the deploy step.