API for Get Bucket Size (Cloudflare R2)

Hi, Cloudflare Team. I would like to ask if there is a Public API to get information like total bucket size in Cloudflare R2? If there is, is there a documentation link for me to read, because I have searched but couldn't find it. If not, is there any plan to add this API? Because in our application case study we need this information. Thank you.
2 Replies
Cyb3r-Jak3
Cyb3r-Jak32w ago
Cloudflare Docs
Metrics and analytics · Cloudflare R2 docs
R2 exposes analytics that allow you to inspect the requests and storage of the buckets in your account.
Azickri
AzickriOP7d ago
@Cyb3r-Jak3 , Thanks. I will try it...

Did you find this page helpful?