cURL
curl --request GET \ --url https://api.example.com/admin/usage/{customer_id}
{ "customer_id": "550e8400-e29b-41d4-a716-446655440000", "tier": "growth", "annual_limit": 10000000, "usage": { "current_month": { "period": "2026-01", "count": 125000 }, "current_year": { "period": "2026", "count": 125000 } }, "usage_percent": 1.25, "remaining": 9875000 }
Get customer usage metrics
Show usage properties
Show current_month properties
Show current_year properties
curl -X GET "https://{admin-api-url}/admin/usage/550e8400-e29b-41d4-a716-446655440000" \ -H "x-api-key: ADMIN_API_KEY"