Wasabi Stats API Reference
- 29 Aug 2024
- 1 Minute to read
- Print
- PDF
Wasabi Stats API Reference
- Updated on 29 Aug 2024
- 1 Minute to read
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
The Wasabi Stats API is a way to programmatically access bucket and utilization data for all accounts. By using the Wasabi Stats API, you can access daily summary utilization as well as daily utilizations of all buckets, available at a per-bucket level.
Wasabi Stats API requests: https://stats.wasabisys.com. Note that this link is used when requesting data; there is no application or page to access.
These API calls require Wasabi API keys, not WAC API keys. Wasabi API keys used must either be Root keys or have associated billing permissions.
The following endpoints are described:
- GET /v1/standalone/utilizations
- GET /v1/standalone/utilizations/bucket
- GET /v1/standalone/utilizations/bucket/:bucketName
- GET /v1/standalone/utilizations/bucket/:bucketNumber
Stats API Authentication and Security
- For security reasons, the Stats API caller must use HTTPS, as any non-HTTPS calls will be redirected to HTTPS endpoints.
- Authentication of Stats API calls will be through the Authorization HTTP header. The caller must use the secret API key provided by Wasabi as the Authorization header value.
- The user of the Stats API must keep the API key safe and protected. It is only to be used in trusted server-to-server communications and MUST NOT be put in any untrusted environments (such as browser-side JavaScript) or otherwise exposed to users or personnel not authorized to use that key.
- You can find, generate, and rotate access keys within the Wasabi Console Access Keys feature.
- Stats API calls require the Wasabi API keys, not WAC API keys. Wasabi API keys used must be either Root user keys or have associated billing permissions.