Retrieve Check-In Stats for an Organization's Monitors
Return check-in counts by status for each requested monitor, in time buckets. The
response maps each monitor GUID to a list of [timestamp, counts] pairs, one for every
bucket in the range, where timestamp is the bucket start as a Unix timestamp and
counts maps each environment name to its counts by status.
Path Parameters
organization_id_or_slug(string)REQUIREDThe ID or slug of the organization the resource belongs to.
Query Parameters:
monitor(array(string))The GUIDs of the monitors to return stats for, up to 20. Monitors you can't access are left out.
since(number)Start of the time range, as a Unix timestamp in seconds. Defaults to one day before
until.until(number)End of the time range, as a Unix timestamp in seconds. Defaults to now.
resolution(string)Size of each bucket, as a number followed by
s,m,hord, such as30m. Defaults to a size picked for the time range. At most 2,500 buckets are allowed.project(array(undefined))The IDs or slugs of projects to filter by. Project slugs are unique within each organization. Omit this parameter to include all accessible projects.
-1is also accepted to include all accessible projects. For example, the following are valid parameters:/?project=1234&project=56789/?project=android&project=javascript-react/?project=-1
environment(array(string))The name of environments to filter by.
Scopes
<auth_token> requires one of the following scopes:org:adminorg:readorg:write
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/monitors-stats/ \ -H 'Authorization: Bearer <auth_token>'
Copied.