{
"lago_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
"name": "example",
"code": "example",
"description": "example",
"aggregation_type": "count_agg",
"weighted_interval": "seconds",
"recurring": false,
"rounding_function": "round",
"rounding_precision": 1,
"field_name": "example",
"expression": "example",
"created_at": "2022-04-29T08:59:51.123456Z",
"updated_at": "2022-04-29T08:59:51.123456Z",
"deleted_at": null,
"filters": [
{
"lago_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
"key": "example",
"values": [
"eu"
],
"created_at": "2022-04-29T08:59:51.123456Z",
"updated_at": "2022-04-29T08:59:51.123456Z",
"deleted_at": null
}
]
}Billable metrics
The billable metric object
Fields of a billable metric in the Lago API. Metered products reference a billable metric to aggregate usage events.
API v2 is in beta. Endpoints return the
X-Lago-Endpoint-Status: beta header.Billable Metric.