usage_timeseries
Retrieve usage timeseries data showing request and credit consumption buckets. Authenticated via JWT, results in UTC for chart rendering.
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 |
|---|---|---|---|
| bucket | No | Bucket size. Defaults to hour for day range and day otherwise. | |
| endpoint | No | Optional endpoint filter | |
| from | No | Custom lower bound in RFC3339 format when range=custom | |
| range | No | Time range preset. Defaults to the current billing period. | |
| to | No | Custom upper bound in RFC3339 format when range=custom |