Retrieve Monitors for an Organization

GET /api/0/organizations/{organization_id_or_slug}/monitors/

Lists monitors, including nested monitor environments. May be filtered to a project or environment.

Path Parameters

organization_id_or_slug (string)
REQUIRED

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

Query Parameters:

project (array(integer))

The IDs of projects to filter by. -1 means all available projects. For example the following are valid parameters:

  • /?project=1234&project=56789
  • /?project=-1
environment (array(string))

The name of environments to filter by.

owner (string)

The owner of the monitor, in the format user:id or team:id. May be specified multiple times.

Scopes

<auth_token> requires one of the following scopes:
  • org:admin
  • org:read
  • org:write
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/monitors/ \
 -H 'Authorization: Bearer <auth_token>'
RESPONSESCHEMA
.