Get Usage Summary
get_usage_summaryWhat this connection's runs spent between since and until (by run creation; the last 30 days by default), grouped by tool, plan or run, largest first. Three numbers kept apart: records_sent is what was sent to the data provider, the most it can have cost; credits_charged is the provider's measured balance change per run, across the whole provider account, with charged_unmeasured_runs counting runs whose balance could not be read (never counted as zero); verifications_spent is email verifications, their own unit. Also the data provider's last reported balance with when it was read, and the tenant's CRM write allowance this month. budgets says what the workspace has used and has left this period: CRM writes against the pool and any write cap, and provider credits and email verifications against any monthly budget and per-run maximum an admin set (null means no limit) -- read it before dispatching to know your headroom. notes says what is not included. Reads only; calls no provider.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | How many groups to return. Default 10; groups_total counts them all. | |
| since | No | Start of the window, ISO 8601. Default 30 days before until. | |
| until | No | End of the window. Default now. | |
| group_by | No | How to group the runs. Default tool. | |
| connection_id | Yes | The CRM connection. Call list_crm_connections first. |