Get static export job status

Changed on

<Warning>Static export is not publicly available. It is only available on Enterprise plans. Contact 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.

get/static-export/{projectId}/jobs/{jobId}

Request

  • Base URL
    https://api.mintlify.com/v1
  • Auth
    HTTP bearer

Path parameters

projectIdstring required

Your project ID. Can be copied from the API keys page in your dashboard.

jobIdstring required

The ID of the static export job returned by Start static export job.

Response

The current state of the export job.

jobIdstring required

Unique identifier for the static export job.

status'queued' | 'running' | 'completed' | 'failed' required

The current state of the job.

createdAtstring date-time required

When the job was created.

updatedAtstring date-time required

When the job last transitioned state.

errorstring nullable

A human-readable error message. Present only when status is failed, otherwise null.

bundleUrlstring 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.

sizeBytesinteger

The size of the bundle in bytes. Present only when status is completed.

expiresAtstring date-time

When the current bundleUrl expires. Present only when status is completed.

Example response

{
  "jobId": "6520f3a1c9b1a20012ab34cd",
  "status": "completed",
  "bundleUrl": "https://mintlify-static-export-outputs-prod.s3.amazonaws.com/6520f3a1c9b1a20012ab34cd/export.zip?X-Amz-Signature=...",
  "sizeBytes": 18432000
}

Changes