Export a usage report as CSV
credits
Export a usage report as CSV
One endpoint serves every report; filters mirror the source endpoints. Streams synchronously; the ledger export reads in keyset batches.
GET
Export a usage report as CSV
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Which usage report a CSV export serves.
Available options:
balance_timeseries, spend_timeseries, by_table, by_provider, by_agent, table_timeseries, table_by_column, table_by_run, ledger Range start (ISO 8601)
Range end (ISO 8601)
Available options:
hour, day IANA timezone for buckets
The kind of a credit ledger entry.
Available options:
grant, expiry, pack_purchase, charge, refund, referral, adjustment Response
The report as a CSV file.