v1

latestOpenAPI 3.0.3Apache 2.02026-07-142201861.5 MB
Monitors

Fetch an Organization's Monitors

List an Organization's Monitors

get/api/0/organizations/{organization_id_or_slug}/detectors/

Path parameters

organization_id_or_slugstring required

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

Query parameters

The IDs or slugs of projects to filter by. Project slugs are unique within each organization. Omit this parameter to include all accessible projects. -1 is 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
querystring

An optional search query for filtering monitors.

Available fields are:

  • name
  • type: e.g. error, metric_issue, issue_stream
  • assignee: email, username, #team, me, none
sortBystring

The property to sort results by. If not specified, the results are sorted by id.

Available fields are:

  • name
  • id
  • type
  • connectedWorkflows
  • latestGroup
  • openIssues

Prefix with - to sort in descending order.

idinteger[]

The ID of the monitor you'd like to query.

Response

createdBystring nullable
latestGroupobject nullable
descriptionstring nullable
idstring required
projectIdstring required
namestring required
typestring required
workflowIdsstring[] nullable required
dateCreatedstring date-time required
dateUpdatedstring date-time required
dataSourcesobject[] nullable required
conditionGroupobject nullable required
configobject required
enabledboolean required