Counting of the requests in Cloud plan

Hey folks!
So I have a question about how Directus is counting API requests in Cloud hosted project.
I already reached out to the team and know that each image request from Client side is counted to API request. But I can put CDN in front to reduce it.
How about people using web UI? Does opening UI and managing content count to API requests? Meaning if I open page for model X, how many requests does this consume? Or is UI actions not counted since it’s billed as created accounts ($10 per account).

Is there a way I could see some logs or even better metrics to understand where we are generating requests to try to optimize it since we’re overcharged and try to find the leak of so many requests slipping to Directus Cloud.

Sincerely,
Daniel

Great question!

The two main pieces of Directus are the APIs and the Data Studio (our admin app). The Data Studio is just one consumer of your Directus API.

So when you’re looking at your API request count in the cloud dashboard, you’ll see requests from:

  • The Data Studio itself
  • Any external applications, frontends, or integrations you’ve built that use the API

Inspecting Request Count :magnifying_glass_tilted_left:

If you want to see exactly what requests are being fired, I’d probably just open up the Network tab in your browser’s Developer Tools while using the Data Studio.

This will give you a real-time view of all the API calls being made, which can help you understand your usage patterns and optimize if needed.

And btw welcome to the community :waving_hand: