Skip to main content
POST
Queue an asynchronous export (CSV/JSONL to S3, row cap 5,000,000)

Body

application/json

Exactly one of definitionId (saved) or definition (inline).

definitionId
string | null
definition
object | null

The report-definition document: one contract drives sync runs, exports, saved definitions and schedules. select holds 1 to 50 entries. See docs/API.md for the full rules.

format
enum<string>
default:CSV
Available options:
CSV,
JSONL

Response

Accepted

exportId
string
required
status
enum<string>
required
Available options:
QUEUED,
RUNNING,
COMPLETED,
FAILED
requestedAt
string<date-time>
required
format
string | null
rowCount
integer<int64> | null
downloadUrl
string | null

Presigned S3 URL, 12-hour expiry; refetch this resource to re-issue

expiresAt
string<date-time> | null
error
string | null
completedAt
string<date-time> | null