Name | Type | Description | Notes |
---|---|---|---|
lago_id | string | Unique identifier of the billable metric created by Lago. | |
name | string | Name of the billable metric. | |
code | string | Unique code used to identify the billable metric associated with the API request. This code associates each event with the correct metric. | |
description | string | Internal description of the billable metric. | [optional] |
created_at | \DateTime | Creation date of the billable metric. | |
field_name | string | Property of the billable metric used for aggregating usage data. This field is not required for `count_agg`. | [optional] |
aggregation_type | string | Aggregation method used to compute usage for this billable metric. Possible values are `count_agg`, `sum_agg`, `max_agg` or `unique_count_agg`. | |
group | \LagoClient\Model\BillableMetricGroup | [optional] | |
active_subscriptions_count | int | Number of active subscriptions using this billable metric. | |
draft_invoices_count | int | Number of draft invoices for which this billable metric is listed as an invoice item. | |
plans_count | int | Number of plans using this billable metric. |