Create Uptime Monitor
create_uptime_monitorCreate a Sentry uptime monitor that checks a URL over HTTP at a set interval, with configurable method, timeout, thresholds, and status to detect downtime.
Instructions
Create a Sentry uptime monitor that checks a URL over HTTP on an interval. Response assertions are not supported; set them in the Sentry UI. Scheduled jobs (cron): find_monitors. Metric thresholds: find_metric_monitors.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectSlug": "<projectSlug>",
"name": "<name>",
"url": "<url>",
"intervalSeconds": "<intervalSeconds>"
},
"name": "create_uptime_monitor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to check (max 255 characters). | |
| body | No | Request body, for methods that take one. | |
| name | Yes | Monitor display name. | |
| owner | No | Owner as `user:ID` or `team:ID`. | |
| method | No | HTTP method used for the uptime check request. | |
| status | No | Monitor status. `disabled` stops checks and does not count against quota. | |
| headers | No | HTTP headers as [name, value] pairs, e.g. [["Accept","application/json"]]. | |
| regionUrl | No | ||
| timeoutMs | No | Request timeout in milliseconds. | |
| environment | No | Environment for uptime issues this monitor creates. | |
| projectSlug | Yes | The project slug. In `org/project` notation, the part after the slash. | |
| traceSampling | No | Whether check requests may be considered for tracing. | |
| intervalSeconds | Yes | Seconds between checks: 60, 300, 600, 1200, 1800, or 3600. | |
| organizationSlug | No | The organization slug, from `find_organizations`. In `org/project` notation, the part before the slash. | |
| downtimeThreshold | No | Consecutive failed checks required to mark down. | |
| recoveryThreshold | No | Consecutive successful checks required to recover. | |
| responseCaptureEnabled | No | Capture response body and headers on failed checks. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| monitor | Yes |