---
title: "Get static export job status"
method: GET
path: "/static-export/{projectId}/jobs/{jobId}"
language: "en"
---

# Get static export job status

`GET /static-export/{projectId}/jobs/{jobId}`

## Request

- Base URL: `https://api.mintlify.com/v1`
- URL: `https://api.mintlify.com/v1/static-export/{projectId}/jobs/{jobId}`
- Auth: HTTP bearer

<Warning>**Static export is not publicly available.** It is only available on Enterprise plans. Contact [sales@mintlify.com](mailto:sales@mintlify.com) to request access.</Warning>

Retrieves the current status of a static export job. Poll this endpoint after starting a job until `status` is `completed` (or `failed`).

Once the job completes, the response includes a `bundleUrl`, `sizeBytes`, and `expiresAt`. The `bundleUrl` is a time-limited presigned S3 link. Download the bundle before the `expiresAt` timestamp. Call this endpoint again to get a fresh link. The underlying export files remain reusable.

Authenticate with an admin API key.

## Path parameters

- `projectId` string, required: Your project ID. Can be copied from the [API keys](https://app.mintlify.com/settings/organization/api-keys) page in your dashboard.
- `jobId` string, required

## Response `200`

The current state of the export job.

- StaticExportJob
  - `jobId` string, required: Unique identifier for the static export job.
  - `status` 'queued' | 'running' | 'completed' | 'failed', required: The current state of the job.
  - `createdAt` string, date-time, required: When the job was created.
  - `updatedAt` string, date-time, required: When the job last transitioned state.
  - `error` string, nullable: A human-readable error message. Present only when `status` is `failed`, otherwise `null`.
  - `bundleUrl` string, uri: 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.
  - `sizeBytes` integer: The size of the bundle in bytes. Present only when `status` is `completed`.
  - `expiresAt` string, date-time: When the current `bundleUrl` expires. Present only when `status` is `completed`.

## Other responses

- `400`: The project ID is malformed.
- `401`: The API key is missing or invalid, your plan doesn't include API access, or static export isn't enabled for this project. Contact sales@mintlify.com to enable it.
- `403`: Your request came from an IP address that isn't on your API key's allowlist.
- `404`: No export job with this ID exists in this project, or the project doesn't exist or doesn't belong to your organization.

## Changes

- **2026-10-30** `d65bf41c72e6`: 1 info
  - added the non-success response with the status `400`
- **2026-08-24** `b6c2af3f0e6b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/mintlify/apis/mintlify-static-export-api/changes/static-export/:projectId/jobs/:jobId/get.md)

---

[API](https://skmtc.dev/mintlify/apis/mintlify-static-export-api.md) - [All operations](https://skmtc.dev/mintlify/apis/mintlify-static-export-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mintlify/apis/mintlify-static-export-api/revisions/d65bf41c72e6?raw)
