cURL
curl --request GET \ --url https://api.portkey.ai/v1/policies/usage-limits/{policyUsageLimitsId}/entities \ --header 'x-portkey-api-key: <api-key>'
{ "object": "list", "data": [ { "id": "<string>", "value_key": "<string>", "current_usage": 123 } ], "total": 123 }
List entities tracked by a usage limits policy with their current usage.
Usage limits policy UUID
Filter by entity usage status
active
exhausted
Filter entities by value key
Number of items per page
1 <= x <= 100
Current page number
x >= 0
List of entities for the policy
"list"
Show child attributes
Total number of entities
Was this page helpful?