How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Lago Billable_metrics API

Everything about Billable metric collection

Lago Billable_metrics API is one of 17 APIs that Lago publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Billable Metrics. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and a getting-started guide.

This API exposes 6 operations across 3 paths, and defines 15 schemas. It is described by OpenAPI 3.1.0, at version 1.15.0.

Requests are made against 2 base URLs: https://api.getlago.com/api/v1, https://api.eu.getlago.com/api/v1.

6 operations 3 paths 15 schemas 1 DELETE2 GET2 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.15.0
Servers
https://api.getlago.com/api/v1
https://api.eu.getlago.com/api/v1
Authentication
HTTP Bearer
License
AGPLv3
Resource Areas
1

Authentication & Security 1

Lago Billable_metrics API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

Paths & Operations 6

Across 3 paths, the API surfaces 6 operations — 1 DELETE, 2 GET, 2 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Billable_metrics 6

Everything about Billable metric collection

POST
/billable_metrics
Lago Create a billable metric
createBillableMetric body → 200400401422
GET
/billable_metrics
Lago List all billable metrics
findAllBillableMetrics 2 params → 200401
POST
/billable_metrics/evaluate_expression
Lago Evaluate an expression for a billable metric
evaluateBillableMetricExpression body → 200400401422
PUT
/billable_metrics/{code}
Lago Update a billable metric
updateBillableMetric 1 param body → 200400401404422
DELETE
/billable_metrics/{code}
Lago Delete a billable metric
destroyBillableMetric 1 param → 200401404
GET
/billable_metrics/{code}
Lago Retrieve a billable metric
findBillableMetric 1 param → 200401404

Schemas 15

The contract defines 15 schemas that model the data the API accepts and returns. The most detailed are BillableMetricObject (16 properties), BillableMetricBaseInput (11 properties), PaginationMeta (5 properties), ApiErrorUnprocessableEntity (4 properties). Each schema is shown below with its type and property counts.

BillableMetricFilterInput
object
Values used to apply differentiated pricing based on additional event properties.
2 properties 2 required
PaginationMeta
object
5 properties 3 required
BillableMetricEvaluateExpressionInput
object
2 properties 2 required
BillableMetricBaseInput
object
11 properties
BillableMetricEvaluateExpressionResult
object
1 property 1 required
BillableMetric
object
1 property 1 required
BillableMetricsPaginated
object
2 properties 2 required
BillableMetricCreateInput
object
1 property 1 required
ApiErrorNotFound
object
3 properties 3 required
BillableMetricFilterObject
object
Values used to apply differentiated pricing based on additional event properties.
2 properties 2 required
BillableMetricUpdateInput
object
1 property 1 required
ApiErrorUnprocessableEntity
object
4 properties 4 required
ApiErrorUnauthorized
object
2 properties 2 required
BillableMetricObject
object
16 properties 9 required
ApiErrorBadRequest
object
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

lago-billable-metrics-api-openapi.yml Raw ↑

Other APIs Lago publishes across the network.

Lago Add_ons API
Lago Analytics API
Lago Coupons API
Lago Credit_notes API
Lago Customers API
Lago Events API
Lago Fees API
Lago Invoices API
Lago Organizations API
Lago Payment_requests API
Lago Plans API
Lago Subscriptions API
Where this information came from

This is an independent, third-party profile of Lago Billable_metrics API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.