Skip to main content
GET
Get workspace export status
The organization bot token must have the following scopes:
  • workspace:export

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Notion-Version
enum<string>
required

The Admin API version to use for this request.

Available options:
2026-06-01

Path Parameters

export_job_id
string
required

Identifier of the export job, as returned by the enqueue endpoint.

space_id
string
required

UUID of the workspace (space) the export belongs to.

Response

created_time
number
required
export_format
enum<string>
required
Available options:
html,
markdown,
pdf
export_job_id
string
required

Identifier of the export job, as returned by the enqueue endpoint.

export_type
enum<string>
required

Whether an entire workspace ('space'), a teamspace, or a single 'page' was exported.

Available options:
page,
space,
teamspace
last_edited_time
number
required
pages_exported
number
required
status
enum<string>
required

Current state of the export: - 'in_progress': the export has not finished yet. - 'completed': the export finished and 'download_urls' is available. - 'url_generation_failed': the export finished, but a download URL could not be generated. - 'failed': the export itself did not finish; see 'error_type' and 'error_message'.

Available options:
completed,
failed,
in_progress,
url_generation_failed
download_urls
string[]

Short-lived, bot-scoped download URLs for the completed export. Always present when 'status' is 'completed', and absent for every other status.

error_message
string
error_type
string
url_expires_time
number