Update monitor
update_monitorChange a monitor. Only the fields given change; its kind cannot. Setting cron switches a heartbeat to a cron schedule and setting period switches it back. Only the page's owner can move it, with page_id, to another of their own pages.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Monitor id | |
| url | No | HTTP check URL | |
| cron | No | Five-field cron expression; empty switches back to period | |
| name | No | New name | |
| tags | No | Space-separated tags | |
| grace | No | Heartbeat grace, e.g. 15m | |
| method | No | GET, HEAD or POST | |
| period | No | Heartbeat period, e.g. 1h | |
| public | No | Show it on the page's public status page | |
| keyword | No | Text the response must contain | |
| page_id | No | Move it to this page (owner only) | |
| timeout | No | Seconds, 1 to 60 | |
| channels | No | Alert channel ids (from list_channels); replaces the ones you can see | |
| interval | No | HTTP check interval, e.g. 5m | |
| timezone | No | IANA timezone for cron | |
| description | No | Notes | |
| cost_alert_usd | No | Alert when one run costs more than this; 0 turns it off | |
| fail_threshold | No | Failed checks in a row before it is down, 1 to 10 | |
| expected_status | No | HTTP status to expect; 0 accepts any 2xx or 3xx |