🔮 Sanity Create is here. Writing is reinvented. Try now, no developer setup

Is there an API Endpoint to Query Usage Data?

2 replies
Last updated: Mar 7, 2022
I'm looking for an API endoint to retrieve usage data for a project, but I can't seem to find anything here: https://www.sanity.io/docs/projects-api Does it actually exists, and if not, is it something that is coming anytime soon?
Mar 4, 2022, 1:26 PM
There isn't a way to query for usage data, I'm afraid. Currently, the only way to see it is the overview in your project's dashboard. If you need more granular detail, members of the Support team can pull it for you if you provide a project id.
We have gotten a few requests for this, but adding specific usage data to the dashboard is something we're unlikely to tackle in the near future.
Mar 4, 2022, 7:14 PM
Thank you for replying. We were hoping to show usage data in our Grafana dashboard, so it's kind of a bummer, but I totally understand that it's not top priority.
Mar 7, 2022, 9:55 AM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?