Export CSV
GET/api/traffic/export.csv
Server-side CSV of the same facts as /summary and /requests (same filters). level=summary: one row per group (group_by, bucket, fill as in the
summary) and a final TOTAL row; level=records: one row per request, newest first, at most 50 000 (# truncated: true when more matched). Cost columns exist
only for callers with view_cost (otherwise they are ABSENT, not zero). Header lines start with #. Text cells are formula-neutralised. Every export is
written to the ledger as traffic.exported (filters, row count, level).
Request
Responses
- 200
- 401
- 403
- 422
Successful Response
The token is missing, invalid or expired. Refresh it, or sign in again.
Your role does not allow this. The detail names the missing permission or role.
Validation Error