Usage Time Series
account.analytics.timeseriesRetrieve time-series usage metrics including API calls, cost, and cache hits. Choose hourly or daily granularity for periods of 1, 7, or 30 days to analyze trends.
Instructions
Get time-series usage data — calls, cost, cache hits per hour or day over a period. Visualize usage patterns and trends. Choose granularity: hourly (for 1d period) or daily (for 7d/30d). Free, no charge (APIbase)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Time period: "1d", "7d", or "30d". Default: "7d" | 7d |
| granularity | No | Time bucket granularity: "hour" or "day". Default: "day" | day |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. | |
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. |