cURL
curl --request GET \ --url https://1a557de0-701c-477d-bedd-433520441dae.mock.pstmn.io/api/usage \ --header 'Authorization: <api-key>'
{ "period": "current_month", "totalRequests": 15000, "requestsByEndpoint": { "/api/quotes": 500, "/api/bookings": 300 }, "rateLimits": { "requestsPerMinute": 60, "requestsPerHour": 1000, "requestsPerDay": 10000 } }
Get API usage statistics and rate limits per tenant
Reporting period
Group by endpoint or other criteria
Usage statistics
"current_month"
15000
Show child attributes
{ "/api/quotes": 500, "/api/bookings": 300 }