Retrieve Event Counts for an Organization

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.

Path Parameters

organization_slug (string)
REQUIRED

The slug of the organization the event ID should be looked up in.

Query Parameters:

stat (string)

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)

An explicit resolution to search for (one of 10s, 1h, and 1d).

Scopes

<auth_token> requires the following scopes:
  • org: read
GET /api/0/organizations/{organization_slug}/stats/
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
  ]
]