A metered feature object represents two things:
- the feature whose entitlement is consumed based on measured usage.
- the configuration that measures that usage.
Sample Metered featureJSON
API Index URL
Metered features attributes
The type of meter. Determines how usage is measured for the metered feature.
Usage is computed from a SQL query over usage_event properties.
Usage is computed from a mathematical formula combining other meters.
The current status of the metered feature.
The metered feature is active and new entitlements and subscription entitlements can be created for it.
No new entitlements and subscription entitlements can be created for the metered feature. However, any pre-existing entitlements and subscription entitlements remain effective.
The metered feature has been permanently deleted.
The SQL query used to measure usage from usage_event properties. For example: SELECT SUM(api_calls) FROM events.
Constraint:
- The properties referenced in the query are always one of
column_definitions.column_name.
The feature associated with this metered feature. This array has only one element since any given metered feature is associated with only one feature.
Feature attributes
The current status of the feature.
The feature is active. 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 entitlements and subscription entitlements 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.