That’s mostly an API for the dashboard

That’s mostly an API for the dashboard, and is undocumented right now because I plan on changing it slightly. If you’re looking for a way to get bucket usage statistics, you might want to look into the GraphQL API instead.
3 Replies
vvo
vvo3y ago
Nice, can you link to some docs on the GraphQL API? Do you plan on providing usage summary per... prefix? 🙂 usecase: folder size
Sid
SidOP3y ago
GraphQL Analytics API · Cloudflare Stream docs
Stream provides analytics about both live video and video uploaded to Stream, via the GraphQL API described below, as well as in the Stream dashboard.
Sid
SidOP3y ago
It's self-documenting of course, but you can snoop around on the Metrics tab of your bucket to find the exact query we send from there Prefix-level metrics are really hard. I wouldn't expect those anytime soon

Did you find this page helpful?