Skip to main content

Does Sentry expose an API for usage stats?

Updated over a month ago

Issue

Is there and endpoint for Sentry usage stats? Currently, we need to go to Sentry UI Stats page every time.

Applies To

  • All Sentry Users

Resolution

Sentry doesn't have a documented API for usage details on the Stats page.

However, there are some endpoints that can be useful to retrieve the similar information. Please see the Retrieve an Organization's Events Count by Project and List a Project's Error Events endpoints.

There is an existing feature request on GitHub to support Aggregated Error Reports via API.

Did this answer your question?