Export Query (async)
Submits an async export of a saved query as CSV or JSONL. Returns immediately with a job id; poll the status endpoint for the download URLs.


Authorizations
Use the Authorization header with the value 'Bearer ' to authenticate. Partner API Keys have full access; Project API Keys are limited to their project scope. Learn more: https://docs.peaka.com/api-reference/authentication
Body
Export options
Async export request. The job is accepted (202) and runs in the background; the result is downloaded via presigned URLs returned by the status endpoint.
Output format
CSV, JSONL "CSV"
Row limit; clamped to [1, 1000000]
100000
CSV formatting options (ignored for JSONL exports)
When false, Peaka system columns (_id, _version, …) are excluded. Cache plumbing columns (q, cache) are always dropped.
true
Explicit column selection; an unknown name yields 400. Omit to export all columns.
Explicit column selection; an unknown name yields 400. Omit to export all columns.
["id", "created", "amount"]Output compression; with GZIP every artifact is a gzip stream carrying a .gz suffix
NONE, GZIP "NONE"