Get a monitor
get_monitorRetrieve a monitor's full configuration and current state by ID before updating it, since updates replace the stored configuration entirely.
Instructions
Read one monitor's full configuration and current state. It has type, target, interval_seconds, timeout_seconds, regions, config, status, is_active, confirmation_threshold, channel_ids (empty means every working channel is alerted), tags, badge_enabled, last_checked_at, next_run_at, and for SSL monitors ssl_expires_at and ssl_cert_info (with lifetime_days and renewal_expected_by, the two-thirds point an ACME client usually renews by), and for HTTP monitors domain_expiry_enabled and domain_expiry: null when the option is off, else {domain, status, expires_at, days_left, checked_at} for the target's registrable domain, from the registry's RDAP data. status: PENDING (not looked up yet), OK (expires_at is the registration expiry), LAPSED (the registry lists the domain as expired, in redemption or pending delete), NO_EXPIRY_DATA (the registry publishes no expiry date), UNSUPPORTED_TLD (the registry publishes no RDAP data; nothing will be alerted), NOT_FOUND (the registry has no such domain), LOOKUP_FAILED (lookups keep failing: over a week since the last answer, or three failures in a row for a domain never looked up; expires_at is the last date seen, null if none), ON_HOLD (the registry lists the domain on hold, client or server hold, so it does not resolve; expires_at is the registry's date). Date alerts go out 30, 14 and 7 days before expires_at and once it has expired, from OK, LAPSED and ON_HOLD. ON_HOLD itself alerts, and NOT_FOUND does on a domain the registry listed before, once two lookups at least a day apart agree. Use it before update_monitor, since a config you send replaces the stored one whole. Not for finding a monitor (list_monitors), its uptime (get_uptime_summary) or why it fails (list_check_results).
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": {
"monitor_id": "<monitor_id>"
},
"name": "get_monitor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| monitor_id | Yes | The monitor's uuid from list_monitors. An id that is not a monitor of this organization, or a deleted one, is a 404. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| tags | No | ||
| type | Yes | Known values: HTTP, PING, SSL, TCP, DNS. | |
| config | Yes | ||
| status | Yes | Known values: PENDING, UP, DEGRADED, DOWN, PAUSED. | |
| target | Yes | ||
| regions | Yes | ||
| user_id | Yes | ||
| is_active | Yes | ||
| created_at | Yes | ||
| resumed_at | Yes | When the monitor was last resumed after a pause; null if it was never resumed. A resume puts the monitor back to PENDING while last_checked_at keeps its pre-pause value. | |
| updated_at | Yes | ||
| channel_ids | No | Bound notification channels. Empty means every working channel of the organization is alerted. | |
| next_run_at | Yes | ||
| badge_enabled | No | ||
| domain_expiry | No | ||
| ssl_cert_info | No | ||
| ssl_expires_at | Yes | ||
| last_checked_at | Yes | ||
| region_statuses | Yes | Per-region latest status, sorted by region name. Built from ``region_snapshots``; ``job_id`` is dropped (internal dedup key) and malformed/partial snapshot rows are skipped rather than failing the read. | |
| timeout_seconds | Yes | ||
| interval_seconds | Yes | ||
| change_alerts_enabled | No | ||
| domain_expiry_enabled | No | ||
| confirmation_threshold | Yes |