get_cost_summary
Retrieve cost, call count, and token aggregates for a specified time range with breakdown by provider or model.
Instructions
Return cost / call count / token aggregates per time range, with a per-provider breakdown. When groupBy="none" is specified, a per-provider breakdown is still returned for backend compatibility (check the response.total field for the overall sum).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupBy | No | Aggregation axis (overall sum / per provider / per model). Default provider | provider |
| rangePreset | No | Aggregation range. Default 7d | 7d |