Complete reference documentation for the Bilanc Metrics API
POST /metrics/v2/{metric_type}
Parameter | Type | Description |
---|---|---|
filters | object | Key-value pairs for filtering the metric data |
group_by | array | Fields to group the results by |
date_level | string | Time granularity (day, week, month, quarter, year) |
aggregation | string | Method to aggregate the metric data |
date_field | string | Date field to use for time-based calculations |
time_series_data | boolean | Whether to return data formatted for time series visualization |
include_previous_period | boolean | Whether to include data from the previous time period |