getAggregateEstimates
getAggregateEstimatesRetrieve billable metric estimates for a customer over a date range. Specify the aggregate ID and customer ID to get usage estimates.
Instructions
Get Billable Metric estimates based on the specified criteria.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"aggregate_id": "<aggregate_id>",
"customer_id": "<customer_id>",
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "getAggregateEstimates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | End date of the estimate window. ISO 8601 date format only — YYYY-MM-DD (e.g., '2025-01-31'). NOT datetime. | |
| get_single | No | Whether to get a single estimate (defaults to true). | |
| start_date | Yes | Start date of the estimate window. ISO 8601 date format only — YYYY-MM-DD (e.g., '2025-01-15'). NOT datetime. | |
| customer_id | Yes | The ID of the customer. | |
| aggregate_id | Yes | The ID of the Billable Metric (aggregate). | |
| __userContext | No | Internal user context for multi-tenant authentication and approval workflow |