Skip to main content
POST
Start static export job
This endpoint is in private beta and requires an enterprise agreement. Please contact sales@mintlify.com to inquire further.

Authorizations

Authorization
string
header
required

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

projectId
string
required

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

Response

The export job was accepted and queued.

jobId
string
required

Unique identifier for the static export job.

Example:

"6520f3a1c9b1a20012ab34cd"

status
enum<string>
required

The current state of the job.

Available options:
queued,
running,
completed,
failed
Example:

"completed"

createdAt
string<date-time>
required

When the job was created.

updatedAt
string<date-time>
required

When the job last transitioned state.

error
string | null

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.

Example:

"https://mintlify-static-exports.s3.amazonaws.com/6520f3a1c9b1a20012ab34cd/export.zip?X-Amz-Signature=..."

sizeBytes
integer

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

Example:

18432000

expiresAt
string<date-time>

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