Get customer entitlement value by feature key
Changed onPre-release Endpoint This endpoint is currently in beta and is subject to change.
Get the customer's entitlement value for a feature at a point in time. Without an active entitlement, the result denies access and omits the type.
Request
- Base URL: https://global.api.konghq.com
- URL: https://global.api.konghq.com/v3/openmeter/customers/{customerId}/entitlement-access/features/{featureKey}/value
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
- HTTP bearer
Path parameters
ULID (Universally Unique Lexicographically Sortable Identifier).
A key is a unique string that is used to identify a resource.
Query parameters
Expand computed fields.
Supported values are:
- value: Expand the balance details of a metered entitlement; it sets the value field.
The point in time to evaluate the entitlement at. Defaults to the current time.
Response
EntitlementFeatureValueResult response.
Example response
{
"feature_key": "available_models",
"has_access": true,
"config": "{ \"availableModels\": [\"gpt-5\", \"gpt-4o\"] }",
"value": {
"balance": "100",
"usage": "50",
"overage": "0",
"total_available_grant_amount": "100",
"grant_balances": {
"additional_property": "1"
}
}
}Changes
- breaking
added to the
/response propertyoneOflist for the response status - warning
added the new
key_invalidenum value to the//////response property for the response status - warning
added the new
uniqueenum value to the//////response property for the response status
- breaking
- info
endpoint added
- info