Last updated: 2026-04-11
Usage & Export
API reference for usage records and CSV export.
List Usage
GET
/usage Paginated usage records with filters.
| Param | Type | Description |
|---|---|---|
| key | string | Filter by key hash |
| provider | string | Filter by provider |
| model | string | Filter by model name |
| from | string | Start date (ISO 8601) |
| to | string | End date (ISO 8601) |
| page | number | Page number (default: 1) |
| limit | number | Items per page (default: 50, max: 200) |
Export CSV
GET
/usage/export Export usage records as CSV. Accepts the same filter parameters as the list endpoint.