Retrieve Event Counts for an Organization
GET /api/0/organizations/{organization_slug}/stats/
This endpoint is deprecated in favor of Organization Stats V2.
Path Parameters
organization_slug
(string)REQUIREDThe slug of the organization the event ID should be looked up in.
Query Parameters:
stat
(string)- choices:
- received
- rejected
- blacklisted
The name of the stat to query
("received", "rejected", "blacklisted")
. 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)- choices:
- 10s
- 1h
- 1d
An explicit resolution to search for (one of
10s
,1h
, and1d
).
Scopes
You need to authenticate via bearer auth token.
<auth_token>
requires one of the following scopes:org: read
curl https://sentry.io/api/0/organizations/{organization_slug}/stats/ \ -H 'Authorization: Bearer <auth_token>'
RESPONSESCHEMA
[
[
1541455200,
8264
],
[
1541458800,
6564
],
[
1541462400,
8652
],
[
1541466000,
7436
],
[
1541469600,
8127
],
[
1541473200,
7643
],
[
1541476800,
6518
],
[
1541480400,
6752
],
[
1541484000,
6559
],
[
1541487600,
7039
],
[
1541491200,
7384
],
[
1541494800,
6265
],
[
1541498400,
8390
],
[
1541502000,
6393
],
[
1541505600,
7298
],
[
1541509200,
7422
],
[
1541512800,
5603
],
[
1541516400,
6846
],
[
1541520000,
8886
],
[
1541523600,
6544
],
[
1541527200,
8812
],
[
1541530800,
8172
],
[
1541534400,
5733
],
[
1541538000,
9435
]
]