usage_endpoints
Get the current user's API endpoint usage breakdown by request volume, with credits, overage, and failed requests across preset or custom time ranges.
Instructions
Get current user's endpoint usage breakdown. Returns the signed-in user's usage broken down by endpoint, ordered by request volume. range is period (the current billing period, default), day, week, month or custom, which takes RFC3339 from and to. limit defaults to 20 (max 100). Each item has requests, charged_requests, failed_requests, non_billable_requests, credits and overage. Authenticated with a dashboard JWT.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Custom upper bound in RFC3339 format when range=custom | |
| from | No | Custom lower bound in RFC3339 format when range=custom | |
| limit | No | Maximum endpoints to return. Defaults to 20 and clamps to 100. | |
| range | No | Time range preset. Defaults to the current billing period. |