getAggregateLogs
getAggregateLogsRetrieve logs for a Billable Metric by aggregate ID, with optional filters for date range, month, customer, and query limit.
Instructions
Get logs related to a Billable Metric (also called an aggregate) by ID, with optional date and customer filters.
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": {
"aggregateId": "<aggregateId>"
},
"name": "getAggregateLogs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| month | No | Filter by month (e.g., 'Apr 2023'). | |
| end_date | No | End date for filtering logs (YYYY-MM-DD). | |
| start_date | No | Start date for filtering logs (YYYY-MM-DD). | |
| aggregateId | Yes | The ID of the Billable Metric (aggregate). | |
| customer_id | No | Filter by customer ID. | |
| query_limit | No | Limit the number of log entries (defaults to 100). | |
| __userContext | No | Internal user context for multi-tenant authentication and approval workflow |