usage
Self-service usage, budget, and rate limit status
Changed onReturns recorded usage, budget statuses, and rate limit statuses for the caller's effective user path (the path bound to the managed API key, or the user-path header for master-key callers).
get/v1/usage
Request
- Base URLhttp://localhost:8080
- URLhttp://localhost:8080/v1/usage
- AuthHTTP bearer
Query parameters
start_datestring
Inclusive window start (YYYY-MM-DD, UTC); defaults to 29 days before end_date
end_datestring
Inclusive window end (YYYY-MM-DD, UTC); defaults to today; the whole range may span at most 365 days
daysinteger
Window length ending today when no explicit dates are given (default 30, max 365)
cache_modestring
Which requests to count: uncached (default, provider-bound only), cached (local response-cache hits only), or all
Response
OK
Changes
- info
added the optional property
//to the response with the status
- info
- info
added the optional property
//to the response with the status
- info