Export state — queued: Waiting in the queue; building: The archive is being built; ready: The archive is ready to download; failed: It could not be generated (see error_code); expired: The archive expired and was deleted. The terminal states are ready, failed and expired: while it is queued or building, keep polling.
Show moreShow less
from
string (date)
Start date of the range (inclusive, YYYY-MM-DD).
Show moreShow less
to
string (date)
End date of the range (inclusive, YYYY-MM-DD).
Show moreShow less
item_count
integer | null
Number of CEPs included in the archive. null until the export is ready.
Show moreShow less
size_bytes
integer | null
Size of the ZIP archive in bytes. null until the export is ready.
Show moreShow less
error_code
string | null
Cause of the failure when status is failed — range_too_large: The range exceeds the maximum CEPs per export; no_ceps: The range no longer has CEPs available; storage_full: The service has no room to store the archive; build_failed: Building the archive failed. null in any other state.
Show moreShow less
created_at
string (date-time)
Moment the export was requested, in UTC.
Show moreShow less
completed_at
string | null
Moment it finished (ready or failed), in UTC. null while in progress.
Show moreShow less
expires_at
string | null
Moment from which the archive can no longer be downloaded, in UTC: 24 hours after completed_at. null until the export is ready.