OpenMeter Entitlements
Query entitlement access
Changed onQuery feature access for a list of customers.
The endpoint resolves each provided identifier to a customer and returns the access status for the requested features, plus optional credit balance availability.
Designed to be called on a fixed refresh interval and the query response is intended to be cached.
post/v3/openmeter/entitlement-access/query
Request
- Base URL: https://global.api.konghq.com
- URL: https://global.api.konghq.com/v3/openmeter/entitlement-access/query
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
- HTTP bearer
Query parameters
Request body
Response
The request has succeeded.
Example response
{
"data": [
{
"customer": {
"id": "01G65Z755AFWAKHE12NY0CQ9FH",
"labels": {
"env": "test"
},
"created_at": "2023-01-01T01:01:01.001Z",
"updated_at": "2023-01-01T01:01:01.001Z",
"deleted_at": "2023-01-01T01:01:01.001Z",
"key": "019ae40f-4258-7f15-9491-842f42a7d6ac",
"currency": "USD",
"billing_address": {
"country": "US"
}
},
"updated_at": "2023-01-01T01:01:01.001Z"
}
],
"meta": {
"page": {
"size": 10
}
}
}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