get_usage
Retrieve account usage statistics, including message, call, and webhook volumes. Get a summary or daily/monthly breakdown to track activity over time.
Instructions
Get account usage statistics. By default returns a summary with number usage plus message, call, and webhook volume. Use breakdown='daily' or 'monthly' for time-series data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Number of days to look back (only used with breakdown='daily') | |
| months | No | Number of months to look back (only used with breakdown='monthly') | |
| breakdown | No | 'summary' for number usage and totals, 'daily' for per-day breakdown, 'monthly' for per-month breakdown | summary |