Venice Billing Usage History
venice_billing_usage_historyFetch detailed billing usage history in ascending timestamp order with cursor pagination, using filters or cursors; requires an ADMIN API key.
Instructions
Walk detailed billing usage in ascending timestamp order using cursor pagination. Supports complete JSON or upstream CSV pages, defaulting to 10 rows. Pages exceeding 64 KiB fail without returning partial rows or a next cursor. On continuation, send cursor without the original filters; CSV nextCursor values already encode format=csv so a cursor-only follow-up stays on text/csv. This uses /billing/usage-history, never deprecated /billing/usage. ADMIN API key required — inference keys cannot call this endpoint. This endpoint does not accept x402 wallet auth.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | Opaque nextCursor from the previous page. CSV pages return a csv: prefix so continuation stays on text/csv. Cannot be combined with filters or page_size. | |
| format | No | Defaults to json. Optional on continuation; CSV nextCursor values already stay on CSV. | |
| currency | No | ||
| page_size | No | First-page row count. Defaults to 10. Complete pages larger than 64 KiB are rejected; use smaller pages or narrower timestamp filters. | |
| end_timestamp | No | Exclusive first-page upper bound, ISO 8601 UTC with Z suffix. | |
| start_timestamp | No | Inclusive first-page lower bound, ISO 8601 UTC with Z suffix. |