Returns the log records matching the given query as a downloadable file in the
requested format (txt, ndjson, yaml or csv).
A single export is capped at 5000 log records. A limit above that cap is
rejected rather than silently clamped: the response is a client error naming the cap.
When the query matches more than 5000 records, the export carries the first 5000 in
result-set order. Use the Dash0 CLI (dash0 logs query) to export larger volumes.
The records are the same ones POST /api/logs returns for the same query, except that
adaptive sampling is always disabled for exports: an exported file is never a sample,
whatever the query and whatever the data volume.
The response is streamed as pages are retrieved and therefore carries no
Content-Length. Because the response headers are committed before the first record
is written, a failure partway through cannot be reported as a status code — it
terminates the transfer instead. Clients MUST confirm the body was received completely
before treating the download as a successful export.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
