The related billable metric object.
Name | Type | Description | Notes |
---|---|---|---|
lagoId | UUID | Unique identifier assigned to the billable metric within the Lago application. This ID is exclusively created by Lago and serves as a unique identifier for the billable metric’s record within the Lago system. | |
name | String | The name of the billable metric used for this charge. | |
code | String | The code of the billable metric used for this charge. | |
aggregationType | AggregationTypeEnum | The aggregation type of the billable metric used for this charge. Possible values are `count_agg`, `sum_agg`, `max_agg` or `unique_count_agg`. |
Name | Value |
---|---|
COUNT_AGG | "count_agg" |
SUM_AGG | "sum_agg" |
MAX_AGG | "max_agg" |
UNIQUE_COUNT_AGG | "unique_count_agg" |