One request returns the entire result set as NDJSON — one JSON object per line, each the
same shape as a data[] entry from the paginated endpoint.
The same filters apply. Paging parameters (page, limit,
skip_count) are ignored.
Paginated vs stream
Use the stream for backfills and full exports. Use pagination for interactive queries where you
want a count, or where you only need the first page.
Reading the stream
You must use a streaming line reader. fetch().json(), requests.get().json() and
PowerShell’s Invoke-RestMethod all buffer the entire body into memory before returning, which
defeats the point of streaming and can exhaust memory on large exports.
Mid-stream errors
Once the response has started, the HTTP status line has already been sent — so a failure
cannot be signalled as a status code. Instead we emit a final line and close the connection:
Treat a trailing object containing error as a truncated result, not data. A stream that
ends this way is incomplete — discard what you collected or mark it partial, then retry.
Ignoring this line means silently importing half an export as if it were the whole thing.
Because the stream is not resumable, a retry restarts from the beginning. For very large exports,
consider narrowing with discovered_from / discovered_to and streaming one window at a time.