🗓️ Everything *[NYC] is back. A free gathering for AI builders. Sept 9

How to retrieve project usage data via API?

2 repliesLast updated: Nov 29, 2025

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?
AI Update

You're absolutely right that there's no usage data endpoint in the Projects API. This is a gap that several developers have noticed and requested over the years.

Current situation: The Projects API handles project management operations (creating, listing, updating projects and their settings), but it doesn't include endpoints for retrieving usage metrics like:

Right now, the only way to view usage data is through the Usage section in your project settings dashboard at manage.sanity.io. You'll need to manually navigate to your project and check the usage/billing section to see these metrics.

Is it coming soon? Based on the community discussion from 2022, Sanity's team indicated that "adding specific usage data to the dashboard is something we're unlikely to tackle in the near future." While that's a couple years old now, there hasn't been a public announcement about this feature being added to the roadmap.

What you can do:

Many developers have expressed interest in programmatic access to usage data for monitoring dashboards (like Grafana, as mentioned in the community thread), automated alerting, and internal billing/chargeback systems. Adding your voice to these requests could help prioritize the feature.

Show original thread
2 replies

Was this answer helpful?

Sanity – Build the way you think, not the way your CMS thinks

Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.

Related contributions