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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aggregateId | Yes | The ID of the Billable Metric (aggregate). | |
| start_date | No | Start date for filtering logs (YYYY-MM-DD). | |
| end_date | No | End date for filtering logs (YYYY-MM-DD). | |
| month | No | Filter by month (e.g., 'Apr 2023'). | |
| 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 |