v1

latestOpenAPI 3.0.3Apache 2.02026-07-142201861.5 MB
Projects

Retrieve Event Counts for a Project

Return a set of points representing a normalized timestamp and the number of events seen in the period.

Query ranges are limited to Sentry's configured time-series resolutions. This endpoint may change in the future without notice.

get/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/stats/

Path parameters

organization_id_or_slugstring required

The ID or slug of the organization the resource belongs to.

project_id_or_slugstring required

The ID or slug of the project the resource belongs to. Project slugs are unique within each organization.

Query parameters

stat'blacklisted' | 'generated' | 'received' | 'rejected'

The name of the stat to query. Defaults to received.

sincenumber double

A UNIX timestamp (in seconds) that sets the start of the query range.

untilnumber double

A UNIX timestamp (in seconds) that sets the end of the query range.

resolution'10s' | '1d' | '1h'

An explicit time series resolution.

Response

integer[] required