Export API overview
Use the Export API to create export jobs and download results when ready.
Export API overview
Use the Export API to create export jobs and download results when ready.
This page is consumer-facing. Internal annotations and worker details are intentionally omitted. Canonical contract:
../../internal/system-design/api-specs/export-api.yaml(derive/curate; do not duplicate endpoint lists by hand).
Authentication
Use a bearer access token with the export:write and export:read scopes.
Authorization: Bearer <token>
Mental model
POST /v1/exportscreates a job and returns202with ajob_id.- Poll
GET /v1/exports/{job_id}untilstatusiscompletedorfailed. - Download via the
download_urlon completion (time-limited).
sequenceDiagram
participant Client
participant API
Client->>API: POST /v1/exports
API-->>Client: 202 job_id
loop Until completed
Client->>API: GET /v1/exports/job_id
API-->>Client: status
end
Client->>API: GET download_url
Webhooks
Configure a webhook endpoint in the dashboard to receive POST notifications when exports complete or fail. Each payload carries a job_id and status.
See tutorial: Schedule automated exports for configuration steps.
Errors (common)
| Code | Meaning | What to do |
|---|---|---|
| 401 | Missing/invalid token | Refresh auth |
| 403 | Entitlement missing | Check plan / admin role |
| 429 | Rate limited | Back off and retry |
| 422 | Invalid range invalid | Fix dates / format |
Related
- Product quickstart: ../getting-started/quickstart.md
- Shared terms: ../../shared/glossary.md