Retrieve Event Counts for a Team
Caution: this endpoint may change in the future without notice.
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.
Path Parameters
organization_slug
(string)REQUIREDThe slug of the organization the team belongs to.
team_slug
(string)REQUIREDThe slug of the team to get.
Query Parameters:
stat
(string)The name of the stat to query
("received", "rejected")
.since
(string)A timestamp to set the start of the query in seconds since UNIX epoch.
until
(string)A timestamp to set the end of the query in seconds since UNIX epoch.
resolution
(string)An explicit resolution to search for (one of
10s
,1h
, and1d
).
Scopes
You need to authenticate via bearer auth token.
<auth_token>
requires the following scopes:team:read
GET /api/0/teams/{organization_slug}/{team_slug}/stats/
curl https://sentry.io/api/0/teams/{organization_slug}/{team_slug}/stats/ \ -H 'Authorization: Bearer <auth_token>'
RESPONSESCHEMA
[
[
1541455200,
3302
],
[
1541458800,
3832
],
[
1541462400,
3669
],
[
1541466000,
3533
],
[
1541469600,
3499
],
[
1541473200,
3201
],
[
1541476800,
3769
],
[
1541480400,
2706
],
[
1541484000,
2698
],
[
1541487600,
3747
],
[
1541491200,
3261
],
[
1541494800,
2860
],
[
1541498400,
4350
],
[
1541502000,
2924
],
[
1541505600,
3389
],
[
1541509200,
2931
],
[
1541512800,
3132
],
[
1541516400,
3213
],
[
1541520000,
3650
],
[
1541523600,
3096
],
[
1541527200,
3845
],
[
1541530800,
3545
],
[
1541534400,
2880
],
[
1541538000,
4057
]
]