Create Meter
Create a new usage meter for event-based billing and usage tracking.
Authorizations
Authenticate requests using your standard bearer API key (e.g. YOUR_API_KEY).
Body
Meter display name.
"API Request Count"
The event name tracked by this meter.
"api.request"
Aggregation strategy for usage events.
COUNT, SUM, MAX, LAST "COUNT"
Meter description.
"Counts successful API requests for usage-based billing."
Metadata key used by SUM, MAX, or LAST aggregation modes.
"tokens"
Measurement unit label.
"requests"
Optional filter definition for advanced matching.
{ "event_type": "premium", "region": "asia" }Enable filtering on usage event ingestion.
false
Response
Meter created successfully.
Represents a usage meter configured for event-based billing, including the tracked event name, aggregation strategy, optional filters, and archive status.
The unique meter ID.
"mtr_8Z1aB2cD3eF4gH5iJ6kL7m"
The business ID that owns this meter.
"biz_4r5t6y7u8i9o"
Meter display name.
"API Request Count"
The event name tracked by this meter.
"api.request"
Aggregation strategy for usage events.
COUNT, SUM, MAX, LAST "COUNT"
Whether the meter is archived.
false
Creation timestamp.
"2026-05-23T10:00:00.000Z"
Last update timestamp.
"2026-05-23T10:00:00.000Z"
Meter description.
"Counts successful API requests for usage-based billing."
Metadata key used for aggregation.
"tokens"
Measurement unit label.
"requests"
Optional filter definition for advanced matching.
{ "event_type": "premium", "region": "asia" }