R2 Usage API

Are there plans to release an API equivalent to the minimum of the information that is already displayed in the Dashboard?

For example: when I browse Bucket I can see the amount of space used, number of class A and class B operations. How can I get this data? I get the total number by Webhook, but not separated by bucket. Can anyone give me an idea?

You can already do this with the GraphQL API, though it is not published officially, but you can get the requests from dev tools.