Fetch a Monitor
GET /api/0/organizations/{organization_id_or_slug}/detectors/{detector_id}/
⚠️ This endpoint is currently in beta and may be subject to change. It is supported by New Monitors and Alerts and may not be viewable in the UI today.
Return details on an individual monitor
Path Parameters
organization_id_or_slug(string)REQUIREDThe ID or slug of the organization the resource belongs to.
detector_id(integer)REQUIREDThe ID of the monitor you'd like to query.
Scopes
You need to authenticate via bearer auth token.
<auth_token> requires one of the following scopes:alerts:readorg:adminorg:readorg:write
Copied
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/detectors/{detector_id}/ \ -H 'Authorization: Bearer <auth_token>'
RESPONSESCHEMA
Copied{ "id": "123456", "projectId": "1", "name": "High Number of Errors", "description": null, "type": "metric_issue", "workflowIds": [ "45678" ], "owner": { "type": "team", "id": "1234567", "name": "example-team" }, "createdBy": "789123", "dateCreated": "2025-03-25T17:50:45.587657Z", "dateUpdated": "2025-07-22T17:10:45.069457Z", "dataSources": [ { "id": "34567", "organizationId": "1", "type": "snuba_query_subscription", "sourceId": "56789", "queryObj": { "id": "23456", "status": 0, "subscription": "12/345acb678def912ghi", "snubaQuery": { "id": "12345", "dataset": "events", "query": "", "aggregate": "count()", "timeWindow": 900, "environment": null, "eventTypes": [ "error" ], "extrapolationMode": "unknown" } } } ], "conditionGroup": { "id": "345678", "organizationId": "1", "logicType": "any", "conditions": [ { "id": "234567", "type": "anomaly_detection", "comparison": { "seasonality": "auto", "sensitivity": "low", "thresholdType": 0 }, "conditionResult": 75 } ], "actions": [] }, "config": { "detectionType": "dynamic", "comparisonDelta": null }, "enabled": true, "latestGroup": { "id": "123456789", "title": "High Number of Errors", "culprit": "", "shortId": "EXAMPLE-1A2B", "level": "error", "status": "resolved", "substatus": null, "platform": "python", "project": { "id": "1", "name": "Backend", "slug": "sentry", "platform": "python" }, "type": "generic", "issueType": "metric_issue", "issueCategory": "metric", "metadata": { "title": "High Number of Errors", "value": "Detected an error", "initial_priority": 75 }, "numComments": 0, "firstSeen": "2025-07-21T14:46:07.845207Z", "lastSeen": "2026-01-12T16:16:26.355334Z" }, "openIssues": 0 }
Was this helpful?