View your API usage history
Authorization: Bearer YOUR_API_KEY.
| Field | Type | Description |
|---|---|---|
usage | array | List of API call events |
usage[].api | string | API slug |
usage[].path | string | Endpoint path called |
usage[].method | string | HTTP method |
usage[].timestamp | string | ISO 8601 timestamp |
usage[].cost | string | Cost in dollars |
usage[].status | string | Call status (completed, failed, etc.) |
totalSpent | string | Total spend in dollars |
pagination.total | number | Total number of events in the time range |