Update Meter
Update an existing usage meter definition.
Authorizations
Authenticate requests using your standard bearer API key (e.g. YOUR_API_KEY).
Path Parameters
The unique meter ID.
"mtr_8Z1aB2cD3eF4gH5iJ6kL7m"
Body
Meter display name.
"API Request Count"
Meter description.
"Counts successful API requests for usage-based billing."
The event name tracked by this meter.
"api.request"
Aggregation strategy for usage events.
COUNT, SUM, MAX, LAST "COUNT"
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 updated 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" }