Aggregate usage events by time period. Returns usage totals grouped by feature and optionally by a custom property.
group_by parameter:
group_by is provided:
group_by (Flat Response)values contains the aggregated sum for each feature:
group_by (Grouped Response)values contains the total sum while grouped_values breaks down values by group:
grouped_values field is only present when group_by is provided in the request.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Customer ID to aggregate events for
1Feature ID(s) to aggregate events for
1Property to group events by. If provided, each key in the response will be an object with distinct groups as the keys
Time range to aggregate events for. Either range or custom_range must be provided
24h, 7d, 30d, 90d, last_cycle, 1bc, 3bc Size of the time bins to aggregate events for. Defaults to hour if range is 24h, otherwise day
day, hour, month Custom time range to aggregate events for. If provided, range must not be provided