Create billable metrics programmatically with this endpoint—an essential step in configuring your pricing and packaging in Metronome.
A billable metric is a customizable query that filters and aggregates events from your event stream. These metrics are continuously tracked as usage data enters Metronome through the ingestion pipeline. The ingestion process transforms raw usage data into actionable pricing metrics, enabling accurate metering and billing for your products.
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The details of the billable metric to create.
The body is of type object
.
Success
The response is of type object
.