usage_timeseries
Get your usage timeseries data with request and credit consumption organized into UTC time buckets for chart rendering. Supports time range and endpoint filters.
Instructions
Get current user's usage timeseries. Returns JWT-authenticated request and credit consumption buckets for chart rendering. Results use UTC buckets.
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 | |
| range | No | Time range preset. Defaults to the current billing period. | |
| bucket | No | Bucket size. Defaults to hour for day range and day otherwise. | |
| endpoint | No | Optional endpoint filter |