A meter captures the usage measurement configuration of a metered feature.
Sample MeterJSON
API Index URL
Meters attributes
The type of meter that determines how usage is measured for the meter.
Usage is computed from the SQL query over usage_event properties.
Usage is computed from a mathematical formula combining other meters.
The current status of the meter.
The meter is active and new entitlements can be created towards it.
No new entitlements can be created towards the meter. However, any pre-existing entitlements from the time that the meter was active remain effective.
The meter has been permanently deleted.
The SQL query used to measure usage from usage_event properties. For example: SELECT SUM(api_calls) FROM events.
The feature associated with this meter. This array has only one element since any given meter is associated with only one feature.
Feature attributes
The current status of the feature.
The feature is published. Any entitlements or subscription entitlements defined for the feature take effect immediately.
No new entitlements or subscription entitlements can be created for the feature. However, any pre-existing item or subscription entitlements from the time that the feature was active remain effective.
This value is not applicable for metered features.
The type of feature. The value is always range.
This value is not applicable for metered features.
This value is not applicable for metered features.
This value is not applicable for metered features.
The feature is quantity based, with entitlement levels between 1 and unlimited.