get_usage
Get usage summary for a time period: call count, total seconds/minutes, and billed amount. Use for cost monitoring, capacity planning, and usage reporting by specifying look-back days.
Instructions
Get usage summary for a time period.
Returns aggregate stats: how many calls were made, total seconds
and minutes consumed, and total amount billed. Billing is
per-second, so total_seconds is the granular metric.
Useful for cost monitoring, capacity planning, and usage reporting.
Args: days: Look-back period in days (default 30, max 365). Use 1 for today's usage, 7 for the past week.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||