exports
Get export status
Return export status and file details. Follow Retry-After until state=ready; inspect errorCode if failed.
Parameters
id
path · Required
Resource, job or operation identifier
Type: string
Complete JSON Schema
Request example
Replace path and request parameters with actual values. For requests with a body, save it as request.json using the schema above.
Responses
200
Successful response; status depends on the operation result.
application/json
Type: object
| Field | Type | Required | Description and constraints |
|---|---|---|---|
| id | string | Yes | Resource, job or operation identifier |
| state | string | Yes | Entry, job or operation state; meaning depends on the endpoint {"enum":["queued","building","ready","failed","expired"]} |
| errorCode | string | null | Yes | Job error code, or null |
| errorCode (anyOf 1) | string | No | |
| errorCode (anyOf 2) | null | No | |
| snapshotAt | string | null | Yes | Timestamp at which the export data was captured |
| snapshotAt (anyOf 1) | string | No | |
| snapshotAt (anyOf 2) | null | No | |
| expiresAt | string | null | Yes | Export file expiry; null before generation |
| expiresAt (anyOf 1) | string | No | |
| expiresAt (anyOf 2) | null | No | |
| bytes | string | null | Yes | File size in bytes as a decimal string |
| bytes (anyOf 1) | string | No | {"pattern":"^(0|[1-9][0-9]*)$"} |
| bytes (anyOf 2) | null | No | |
| sha256 | string | null | Yes | SHA-256 checksum of the export file |
| sha256 (anyOf 1) | string | No | |
| sha256 (anyOf 2) | null | No |
Complete JSON Schema
400, 401, 403, 404, 409, 410, 429, 500, 503
Error response; branch on code.
application/json
Type: object
| Field | Type | Required | Description and constraints |
|---|---|---|---|
| code | string | Yes | Machine-readable error code |
| message | string | No | Error message; use code for program logic |
| requestId | string | No | Request trace identifier |
| operationId | string | No | Request receipt identifier; no status polling is needed |