Fettle

v2.0.0
sh.fettle/mcp Checked 5 hours ago Published 6 days ago

Uptime monitoring — monitors, incidents, heartbeats, maintenance windows, status page incidents

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_monitors List monitors

Find monitors in the organization by name, target, type, status or tag. Each row is short: id, name, type, target, status, is_active, tags, interval_seconds, ssl_expires_at and last_checked_at. Use it first to get a monitor's id, or to answer what is broken now (status ["DOWN", "DEGRADED"]) or which certificates expire first (type ["SSL"], sort ssl_expiry). For one monitor's full settings use get_monitor; for heartbeats use list_heartbeats. Returns a page: items plus total, page, size and pages. An invalid value is a 422 naming the argument. Example: {"status": ["DOWN", "DEGRADED"], "size": 10…

ParameterTypeDescription
pageintegerPage number, 1 or more; default 1.
qstringCase-insensitive substring of the name or the target, up to 255 characters.
sizeintegerRows per page, 1 to 100; default 25. Keep paging until you have seen total rows.
sortstringstatus (the default: PENDING, DOWN, DEGRADED, UP, PAUSED, then by name), up_first (healthy first), name, newest, oldest, ssl_expiry (soonest-expiring certificates first; monitors with no known expiry,…
statusarrayKeep monitors in any of these states: a JSON array. PENDING means no verdict yet.
tagarrayKeep items carrying these tags: a JSON array of up to 10 tags, each up to 50 characters, lowercased before matching. tag_match decides whether all or any of them must match.
tag_matchstringall (the default): an item must carry every tag in tag. any: at least one of them.
typearrayKeep monitors of any of these types: a JSON array.

list_tags List tags

List the tags used in the organization, most-used first, each with monitor_count and heartbeat_count, as items. Call it before tagging anything so you reuse an existing name instead of inventing a near-duplicate. Not a filter: to find the monitors or heartbeats carrying a tag, pass tag to list_monitors or list_heartbeats. Returns every tag at once, not a page.

ParameterTypeDescription
kindstringmonitor or heartbeat lists only the tags that kind of item uses; all (the default) lists both. Both counts are reported either way.

get_monitor Get a monitor

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), channels (id, type and label of each bound channel, whether or not it receives alerts now; label is null for a member's own email channel and for a channel without a label; list_channels tells them apart), tags, badge_enabled, active_maintenance (the maintenance window in effect for it now: id, name and ends_at, when the window's current occurrence ends, UTC; null…

ParameterTypeDescription
monitor_id *stringThe monitor's uuid from list_monitors. An id that is not a monitor of this organization, or a deleted one, is a 404.

create_monitor Create a monitor

Create one monitor that checks a URL, host or port on a schedule from one or more regions, and return it in the get_monitor shape. Use check_target first to catch a typo or an unreachable host; use bulk_create_monitors for several monitors, and create_heartbeat for a job that should report in rather than be probed. Requires a key with the write scope. Plan limits apply (monitor count, minimum interval, monitors faster than 60 seconds, regions per monitor): breaking one is a 403 naming it, so call get_plan_usage first. A paused monitor still counts toward them. change_alerts_enabled turns on ch…

ParameterTypeDescription
interval_seconds *integerSeconds between checks, 30 to 86400. The plan sets a minimum (limits.min_interval_seconds) and caps how many monitors may check more often than every 60 seconds (max_fast_monitors); breaking either is…
name *stringDisplay name, 1 to 255 characters.
regions *arrayOne or more distinct region codes: the plan's choices are limits.allowed_regions in get_plan_usage. An unknown code, or more regions than max_regions, is a 403. SSL, DNS and TCP monitors with a ports…
target *stringWhat to check, up to 2048 characters. HTTP: an http:// or https:// URL (https:// is added when the scheme is missing; port, path and query are kept). PING, SSL, TCP and DNS: a bare public hostname or…
timeout_seconds *integerSeconds one check may take before it fails, 1 to 120.
type *stringHTTP (a URL answers with an expected status), PING (a host answers ICMP), SSL (a certificate is valid and not about to expire), TCP (a port is open, or a list of ports is closed) or DNS (a record reso…
change_alerts_enabledbooleanTurns on change alerts for this monitor, default false. On a DNS monitor, a confirmed NOTICE change of its DNS answers, outside maintenance and not reverted, goes to the monitor's alert channels. Cert…
channel_idsarrayNotification channel uuids from list_channels; email addresses are channels too. Omit it or pass [] to alert every working channel of the organization. A list replaces that default: only the listed ch…
configobjectAn object whose fields depend on type, all optional unless stated. HTTP: method (GET, HEAD, POST, PUT, PATCH or DELETE, any case; default GET); expected_status_codes (non-empty list of codes 100 to 59…
confirmation_thresholdintegerHow many checks in a row must fail in every region before the monitor goes DOWN and an incident opens, 1 to 10; 2 when not set on create.
domain_expiry_enabledbooleanWatch the expiry date of the target's registered domain (RDAP) and alert before it lapses, and when the registry puts the domain on hold or no longer lists it. HTTP monitors whose target is a domain n…
is_activebooleanDefault true. false creates it paused: no check runs until resume_monitor.
tagsarrayFlat labels for grouping and filtering, for example env:prod or service:api, at most 10. Each tag is trimmed, lowercased and deduplicated on write, at most 50 characters of a-z, 0-9 and : _ . / -, sta…

bulk_create_monitors Create several monitors

Create 1 to 100 monitors in one call, all or nothing; for a single monitor use create_monitor. Requires a key with the write scope. An invalid item, or a batch that would exceed the plan, rejects the whole call and creates nothing: call get_plan_usage first to check the batch fits. Errors name the failing item. A field that fails validation is named by its path, such as monitors.3.target (index 3 is the fourth item; all such errors are reported at once). Any other item error keeps the status create_monitor would give (403 when its interval or regions break the plan or name an unknown region, 4…

ParameterTypeDescription
monitors *array1 to 100 monitors, each taking the same fields and rules as create_monitor's arguments. Items with is_active false are created paused and still count toward the plan. Unless the user names regions, gi…

bulk_pause_monitors Pause many monitors

Pause up to 100 monitors in one call, all or nothing: no checks run and each open incident closes without an alert. Use it to stop monitoring a whole project or group found with list_monitors; for one monitor use pause_monitor, and to silence alerts around a deploy while checks keep running use create_maintenance_window instead. Requires a key with the write scope. Pausing a paused monitor is not an error. Returns monitors: the list_monitors rows after the change, in request order. Example: {"monitor_ids": ["<id from list_monitors>", "<id from list_monitors>"]}

ParameterTypeDescription
monitor_ids *array1 to 100 distinct monitor uuids from list_monitors. A repeated id is a 422; an id that is not a monitor of this organization is a 404 naming it, and then nothing changes.

bulk_resume_monitors Resume many monitors

Resume up to 100 paused monitors in one call, all or nothing; each goes back to PENDING and is checked within seconds. For one monitor use resume_monitor; to run a check right away on a monitor that is already running, use check_now. Requires a key with the write scope. Resuming more monitors than the plan's active limit allows is a 403 and nothing changes (see get_plan_usage). A monitor already running is left as it is. Returns monitors: the list_monitors rows after the change, in request order. Example: {"monitor_ids": ["<id from list_monitors>", "<id from list_monitors>"]}

ParameterTypeDescription
monitor_ids *array1 to 100 distinct monitor uuids from list_monitors. A repeated id is a 422; an id that is not a monitor of this organization is a 404 naming it, and then nothing changes.

bulk_update_monitors Change settings of many monitors

Set the same interval, timeout, regions, channels or threshold on up to 100 monitors in one call, all or nothing. For example, move twenty PING monitors to other regions. Not for config or name (use update_monitor, one monitor at a time) or tags (use bulk_update_monitor_tags). change_alerts_enabled turns on change alerts for the monitor (default false): on a DNS monitor, a confirmed NOTICE change of its DNS answers, outside maintenance and not reverted, goes to the monitor's alert channels. Certificate changes send no change alert; they show in the feed and the weekly digest, and a new certifi…

ParameterTypeDescription
changes *objectThe values to set, at least one of: interval_seconds (30 to 86400), timeout_seconds (1 to 120), regions (region codes from limits.allowed_regions in get_plan_usage), channel_ids (channel uuids from li…
monitor_ids *array1 to 100 distinct monitor uuids from list_monitors. A repeated id is a 422; an id that is not a monitor of this organization is a 404 naming it, and then nothing changes.

get_exposed_ports_preset Get the exposed-ports preset

List the ports that should never be reachable from the internet (databases, queues, admin panels). Returns ports, each a port number and the service that usually listens on it. Use it to pick ports when asked to watch a server for exposed services; it creates nothing. Then create one TCP monitor on the server's public hostname or IP with config {"ports": [...], "expected_state": "closed"} (1 to 20 distinct ports, one region, interval_seconds 300 or more; 3600 is plenty) through create_monitor: it counts as one monitor and fails naming every port that answers.

update_monitor Update a monitor

Change one monitor's settings and return it in the get_monitor shape. Only the fields you pass change, and at least one besides monitor_id is required (422 otherwise); type and target never change (create a new monitor instead). Not for pausing or resuming (pause_monitor, resume_monitor), for many monitors at once (bulk_update_monitors) or for tags alone across monitors (bulk_update_monitor_tags). Requires a key with the write scope. Plan limits are checked against the result, as on create_monitor (only moving a monitor below 60 seconds takes a fast slot): breaking one is a 403 naming it. chan…

ParameterTypeDescription
monitor_id *stringThe monitor's uuid from list_monitors. An id that is not a monitor of this organization, or a deleted one, is a 404.
badge_enabledbooleanTurns the monitor's public status badge on or off. A monitor on a published status page has a badge even when it is false.
change_alerts_enabledbooleanTurns on change alerts for this monitor, default false. On a DNS monitor, a confirmed NOTICE change of its DNS answers, outside maintenance and not reverted, goes to the monitor's alert channels. Cert…
channel_idsarrayNotification channel uuids from list_channels; email addresses are channels too. When passed it replaces the whole binding: only the listed channels are alerted, nobody else is emailed implicitly; []…
configobjectReplaces the monitor's whole config, not just the keys you send: a field of the type's schema you leave out resets to its default (read the current one with get_monitor first). Sending only port on a…
confirmation_thresholdintegerHow many checks in a row must fail in every region before the monitor goes DOWN and an incident opens, 1 to 10; 2 when not set on create.
domain_expiry_enabledbooleanWatch the expiry date of the target's registered domain (RDAP) and alert before it lapses, and when the registry puts the domain on hold or no longer lists it. HTTP monitors whose target is a domain n…
interval_secondsintegerSeconds between checks, 30 to 86400. The plan sets a minimum (limits.min_interval_seconds) and caps how many monitors may check more often than every 60 seconds (max_fast_monitors); breaking either is…
namestringDisplay name, 1 to 255 characters.
regionsarrayOne or more distinct region codes: the plan's choices are limits.allowed_regions in get_plan_usage. An unknown code, or more regions than max_regions, is a 403. SSL, DNS and TCP monitors with a ports…
tagsarrayReplaces the whole tag list when passed, at most 10; [] clears it; omit it to keep the tags. Each tag is trimmed, lowercased and deduplicated on write, at most 50 characters of a-z, 0-9 and : _ . / -,…
timeout_secondsintegerSeconds one check may take before it fails, 1 to 120.

pause_monitor Pause a monitor

Stop checking one monitor without deleting it: its status becomes PAUSED and an open incident on it closes without a recovery alert. Use it when the user wants a monitor off for an open-ended time. For a planned deploy or reboot prefer create_maintenance_window, which keeps checking but silences new alerts; for many monitors use bulk_pause_monitors; to restart checks use resume_monitor. Requires a key with the write scope. Pausing a paused monitor changes nothing. Returns the monitor in the get_monitor shape.

ParameterTypeDescription
monitor_id *stringThe monitor's uuid from list_monitors. An id that is not a monitor of this organization, or a deleted one, is a 404.

resume_monitor Resume a monitor

Restart checks on one paused monitor: its status goes back to PENDING and it is checked within seconds. For many monitors use bulk_resume_monitors; to check a running monitor right away use check_now. Requires a key with the write scope. Resuming a monitor that is not paused changes nothing. A 403 means the organization already has as many active monitors as its plan allows: pause or delete another one first. Returns the monitor in the get_monitor shape.

ParameterTypeDescription
monitor_id *stringThe monitor's uuid from list_monitors. An id that is not a monitor of this organization, or a deleted one, is a 404.

delete_monitor Delete a monitor

Delete one monitor: it stops being checked and disappears from the organization's monitors, and no tool restores it. Use it only when the user explicitly asked for deletion; otherwise prefer pause_monitor, which keeps the monitor and its history. There is no bulk delete. Requires a key with the write scope. Returns {"success": true}.

ParameterTypeDescription
monitor_id *stringThe monitor's uuid from list_monitors. An id that is not a monitor of this organization, or a deleted one, is a 404.

check_now Check a monitor now

Check one existing monitor within seconds instead of waiting out its interval, for example to confirm a fix. It returns the monitor record, not a check result: call get_monitor or list_check_results a moment later for the outcome. To probe a target that has no monitor yet use check_target; to restart a paused monitor use resume_monitor. Requires a key with the write scope. A repeat call for the same monitor within 30 seconds, or a call on a paused monitor, is a silent no-op that returns it unchanged. Calls are limited to 10 per minute per calling address for an API key, per user for an app con…

ParameterTypeDescription
monitor_id *stringThe monitor's uuid from list_monitors. An id that is not a monitor of this organization, or a deleted one, is a 404.

bulk_update_monitor_tags Retag several monitors at once

Add and/or remove tags across up to 300 monitors in one call, all or nothing: each monitor ends with (its tags | add) - remove. Use it to retag a fleet; for heartbeats use bulk_update_heartbeat_tags, to replace one monitor's whole tag list use update_monitor, to rename or drop a tag everywhere (heartbeats too) use rename_tag or delete_tag. Requires a key with the write scope. At least one of add or remove is required, and they must not share a tag (422). A monitor that would end with more than 10 tags rejects the whole call (422). Each tag is trimmed, lowercased and deduplicated on write, at m…

ParameterTypeDescription
monitor_ids *array1 to 300 distinct monitor uuids from list_monitors. A repeated id is a 422; an unknown id rejects the whole call with a 404 naming every id not found.
addarrayTags to add to every listed monitor, up to 10.
removearrayTags to remove from every listed monitor, up to 10.

get_uptime_summary Get uptime for a monitor

Report one monitor's uptime percentage, average response time and incident count over the last 24 hours, 7 days and 30 days at once, to answer how reliable it has been. The three windows are rolling: they end at the call and reach back 24 hours, 7 days and 30 days, not UTC days, so a 30-day sum of get_uptime_daily can differ slightly. For a day-by-day series use get_uptime_daily; for response time per region use get_response_time_by_region; for the individual failures use list_check_results. Returns monitor_id and windows keyed 24h, 7d and 30d, each with uptime_percentage, downtime_seconds, ob…

ParameterTypeDescription
monitor_id *stringThe monitor's uuid from list_monitors. An id that is not a monitor of this organization, or a deleted one, is a 404.
fromstringFirst UTC date of a calendar range, YYYY-MM-DD, inclusive. The range is cut to the plan's history; a range entirely older than it returns no data.
tostringLast UTC date of a calendar range, YYYY-MM-DD, inclusive; needs from. Without it, or after today, the range ends today.

get_plan_usage Get plan usage

Show the organization's plan, its limits and current usage, to check that new monitors, heartbeats or regions fit before creating them or to explain a 403 naming a limit. Region codes and their cities come from list_regions; billing changes happen only in the dashboard. Values are current as of the call. Returns plan (one of FREE, PLUS, PRO, MAX, ENTERPRISE), limits and usage. limits: max_monitors, min_interval_seconds, max_fast_monitors (monitors below fast_interval_threshold_seconds, 60), max_regions per monitor, allowed_regions, max_heartbeats, max_maintenance_windows, max_status_pages, max…

list_incidents List incidents

List the organization's monitor and heartbeat incidents, newest first (or by attention with sort), to see what is or was down and which alerts went out. Each item has id, monitor_id or heartbeat_id (exactly one is set), monitor (id, name and type) and heartbeat (id and name), of which one is null, started_at, created_at, resolved_at (null while open), cause, cause_detail (the raw check error), acknowledged_at, acknowledged_by_user (id and name; may be null on an acknowledged incident: a Telegram acknowledgement, an older one, or a deleted user) and notification_logs: the alerts sent, oldest fi…

ParameterTypeDescription
all_timebooleantrue lists incidents of all time, one page at a time. Not together with period_days, from or to.
causestringKeep one failure cause, such as TIMEOUT, HTTP_5XX or HEARTBEAT_MISSED.
fromstringFirst UTC date of a calendar range, YYYY-MM-DD, inclusive. An incident is listed if it was active on any day of the range. Not together with period_days.
heartbeat_idstringKeep one heartbeat's incidents: its uuid from list_heartbeats. Not together with monitor_id (a 422).
monitor_idstringKeep one monitor's incidents: its uuid from list_monitors. Not together with heartbeat_id (a 422).
pageintegerPage number, 1 or more; default 1.
period_daysintegerKeep incidents active within the last N days, 1 to 365. Without period_days, from, to or all_time the tool lists the last 30 days.
qstringCase-insensitive substring of the monitor's or heartbeat's current name, up to 255 characters.
sizeintegerRows per page, 1 to 100; default 25. Keep paging until you have seen total rows.
sortstringattention: open unacknowledged first, then open acknowledged, then resolved; newest first within each. Omit it for newest first.
statusstringopen or resolved (lowercase); omit it for both.
tostringLast UTC date of a calendar range, YYYY-MM-DD, inclusive; without it the range runs to now. Not together with period_days.

acknowledge_incident Acknowledge an incident

Mark an open incident as being handled so it is left out of reminder digests; the recovery alert still goes out when it resolves. Use it when someone is working on the outage. It does not close the incident (that happens when the monitor recovers) and it is not for status page incidents (post_status_page_update). Requires a key with the write scope. Acknowledging twice keeps the first acknowledgement; on a resolved incident it succeeds without effect on alerts. Returns the incident in the get_incident shape.

ParameterTypeDescription
incident_id *stringThe incident's uuid from list_incidents. An id that is not an incident of this organization is a 404.

list_heartbeats List heartbeat monitors

Find heartbeat (cron / dead-man's-switch) monitors. Each has id, name, state (PENDING until a success ping makes it UP or a /fail ping makes it DOWN; later UP, DOWN or PAUSED), period_seconds, grace_seconds, ping_url, last_ping_at, last_success_at, overdue_at, tags, channel_ids and channels (id, type and label of each bound channel, whether or not it receives alerts now; label is null for a member's own email channel and for a channel without a label; list_channels tells them apart). Use it to get a heartbeat's id or ping_url, or to see which jobs are late (sort status puts DOWN first). Probed…

ParameterTypeDescription
pageintegerPage number, 1 or more; default 1.
qstringCase-insensitive substring of the name, up to 255 characters.
sizeintegerRows per page, 1 to 100; default 25. Keep paging until you have seen total rows.
sortstringstatus (the default: DOWN, PENDING, UP, PAUSED, newest first within each), name, or created_at (newest first).
tagarrayKeep items carrying these tags: a JSON array of up to 10 tags, each up to 50 characters, lowercased before matching. tag_match decides whether all or any of them must match.
tag_matchstringall (the default): an item must carry every tag in tag. any: at least one of them.

create_heartbeat Create a heartbeat monitor

Create a heartbeat: Fettle alerts when a scheduled job stops calling its ping_url. Use it for cron jobs, backups and workers that should report in; to probe a URL, host or port from outside use create_monitor. The job calls ping_url (GET or POST) on success, ping_url + "/start" when it begins (restarts the clock) and ping_url + "/fail" to go DOWN at once. It is never late before its first success ping (a /fail call still marks it DOWN); after that an alert fires period_seconds + grace_seconds after the last ping. Requires a key with the write scope. The plan caps how many heartbeats exist (403…

ParameterTypeDescription
grace_seconds *integerExtra seconds of silence tolerated after the period before the heartbeat is reported late, 0 to 2592000; it may exceed the period.
name *stringDisplay name, 1 to 255 characters.
period_seconds *integerHow often the job runs, 60 to 2592000 seconds. To ping every N seconds and be alerted after T seconds of silence, set period_seconds = N and grace_seconds = T - N (T at least N).
channel_idsarrayNotification channel uuids from list_channels; email addresses are channels too. Omit it or pass [] to alert every working channel of the organization. A list replaces that default: only the listed ch…
tagsarrayFlat labels for grouping and filtering, for example env:prod or service:api, at most 10. Each tag is trimmed, lowercased and deduplicated on write, at most 50 characters of a-z, 0-9 and : _ . / -, sta…

get_heartbeat Get a heartbeat monitor

Read one heartbeat in full, including how long its last run took. It has name, state, period_seconds, grace_seconds, ping_url, last_ping_at, last_success_at, last_start_at, last_duration_ms (how long the last run took, from its /start to its success ping), overdue_at (when it will be reported late), is_active, channel_ids, channels (id, type and label of each bound channel, whether or not it receives alerts now; label is null for a member's own email channel and for a channel without a label; list_channels tells them apart) and tags. Use it to answer whether a job ran, how long it took and whe…

ParameterTypeDescription
heartbeat_id *stringThe heartbeat's uuid from list_heartbeats. An id that is not a heartbeat of this organization, or a deleted one, is a 404.

get_heartbeat_uptime Get a heartbeat's uptime

Report one heartbeat's uptime over the last N days or a date range, in total and per UTC day, to answer how reliable a job has been. Uptime is the share of time since the heartbeat was created that no incident was open; paused time is left out; a heartbeat that never pinged and had no incident has a null uptime_percentage. Returns heartbeat_id, window_start (the window's first day at 00:00 UTC, or the creation if later; null when the window is older than the plan's history), window_end (the day after its last day at 00:00 UTC, or now), uptime_percentage, downtime_seconds, observed_seconds, inc…

ParameterTypeDescription
heartbeat_id *stringThe heartbeat's uuid from list_heartbeats. An id that is not a heartbeat of this organization, or a deleted one, is a 404.
daysintegerHow many days to cover, 1 to 1095, ending today; default 30, cut to the plan's history. Not together with from or to.
fromstringFirst UTC date of a calendar range, YYYY-MM-DD, inclusive. The range is cut to the plan's history; a range entirely older than it returns no data.
tostringLast UTC date of a calendar range, YYYY-MM-DD, inclusive; needs from. Without it, or after today, the range ends today.

update_heartbeat Update a heartbeat monitor

Change one heartbeat's name, timing, channels or tags; only the fields you pass change. A new period or grace moves the current deadline (overdue_at) at once, counted from the last ping; a heartbeat with no running deadline (no ping or start since it was created or resumed, paused, or already down) is left without one. If the new deadline has already passed, the heartbeat is reported late within about 30 seconds. To stop or restart late alerts use pause_heartbeat or resume_heartbeat instead; to retag many heartbeats use bulk_update_heartbeat_tags. ping_url never changes. Requires a key with th…

ParameterTypeDescription
heartbeat_id *stringThe heartbeat's uuid from list_heartbeats. An id that is not a heartbeat of this organization, or a deleted one, is a 404.
channel_idsarrayNotification channel uuids from list_channels; email addresses are channels too. When passed it replaces the whole binding: only the listed channels are alerted, nobody else is emailed implicitly; []…
grace_secondsintegerExtra seconds of silence tolerated after the period before the heartbeat is reported late, 0 to 2592000; it may exceed the period.
namestringDisplay name, 1 to 255 characters.
period_secondsintegerHow often the job runs, 60 to 2592000 seconds. To ping every N seconds and be alerted after T seconds of silence, set period_seconds = N and grace_seconds = T - N (T at least N).
tagsarrayReplaces the whole tag list when passed, at most 10; [] clears it; omit it to keep the tags. Each tag is trimmed, lowercased and deduplicated on write, at most 50 characters of a-z, 0-9 and : _ . / -,…

bulk_update_heartbeat_tags Retag several heartbeats at once

Add and/or remove tags across up to 300 heartbeats in one call, all or nothing: each heartbeat ends with (its tags | add) - remove. Use it to retag many jobs; for monitors use bulk_update_monitor_tags, to replace one heartbeat's whole tag list use update_heartbeat, to rename or drop a tag everywhere (monitors too) use rename_tag or delete_tag. Requires a key with the write scope. At least one of add or remove is required, and they must not share a tag (422). A heartbeat that would end with more than 10 tags rejects the whole call (422). Each tag is trimmed, lowercased and deduplicated on write…

ParameterTypeDescription
heartbeat_ids *array1 to 300 distinct heartbeat uuids from list_heartbeats. A repeated id is a 422; an unknown id rejects the whole call with a 404 naming every id not found.
addarrayTags to add to every listed heartbeat, up to 10.
removearrayTags to remove from every listed heartbeat, up to 10.

pause_heartbeat Pause a heartbeat monitor

Pause one heartbeat: it is no longer reported late, pings to its ping_url are accepted but ignored, and its open incident closes without an alert. Use it when the job is stopped on purpose, such as a runner taken out of service; resume_heartbeat undoes it, while delete_heartbeat removes the heartbeat for good. Maintenance windows do not cover heartbeats. Requires a key with the write scope. Pausing a paused heartbeat changes nothing. Returns the heartbeat.

ParameterTypeDescription
heartbeat_id *stringThe heartbeat's uuid from list_heartbeats. An id that is not a heartbeat of this organization, or a deleted one, is a 404.

resume_heartbeat Resume a heartbeat monitor

Resume one paused heartbeat: it goes back to PENDING with no deadline, so it is not reported late until its next success ping restarts the clock. Use it once the job runs again; to change its timing use update_heartbeat. There is no bulk resume for heartbeats. Requires a key with the write scope. Resuming a heartbeat that is not paused changes nothing. Resuming a paused one is refused (403) when the plan's heartbeat limit is reached. Returns the heartbeat.

ParameterTypeDescription
heartbeat_id *stringThe heartbeat's uuid from list_heartbeats. An id that is not a heartbeat of this organization, or a deleted one, is a 404.

delete_heartbeat Delete a heartbeat monitor

Delete one heartbeat for good: its ping_url stops working (404) and no tool restores it. Use it only when the user asked for deletion; to stop alerts for a while use pause_heartbeat. Requires a key with the write scope. Returns {"success": true}.

ParameterTypeDescription
heartbeat_id *stringThe heartbeat's uuid from list_heartbeats. An id that is not a heartbeat of this organization, or a deleted one, is a 404.

list_maintenance_windows List maintenance windows

List every maintenance window of the organization, enabled or not, in effect or not. Each has id, name, enabled, scope (ORG or MONITOR), dtstart, duration_minutes, rrule, timezone, monitor_ids, monitors (id, name and type of each, without deleted ones), active_until (when the occurrence in effect now ends, UTC; null when the window is not in effect), created_at and plan_disabled_at (set when a plan drop switched the window off: it silences nothing). Use it to find a window's id. To learn whether alerts are silenced right now use list_active_maintenance; for a window's upcoming occurrences use…

ParameterTypeDescription
pageintegerPage number, 1 or more; default 1.
qstringCase-insensitive substring of the name, up to 255 characters.
sizeintegerRows per page, 1 to 100; default 25. Keep paging until you have seen total rows.
sortstringcreated_at (the default, newest first) or name.

list_active_maintenance List maintenance windows in effect now

List the enabled maintenance windows in effect at this moment, to tell whether a monitor's alerts are silenced now. An ORG-scope window covers every monitor, a MONITOR-scope one its monitor_ids. For every window, including future and disabled ones, use list_maintenance_windows. Returns every such window at once, a plain array (not a page) of list_maintenance_windows items; empty when nothing is silenced.

get_maintenance_window Get a maintenance window

Read one maintenance window with its schedule and its next three occurrences. It has the list_maintenance_windows fields plus next_occurrences, each with start and end. Use it to confirm when a recurring window fires next. To check a schedule before saving it use preview_maintenance_window; to find a window use list_maintenance_windows.

ParameterTypeDescription
window_id *stringThe window's uuid from list_maintenance_windows. An id that is not a window of this organization is a 404.

create_maintenance_window Create a maintenance window

Create a one-time or recurring maintenance window that silences new alerts for some or all monitors. While a window is in effect its monitors keep being checked, but no incident opens and no down or change alert goes out; a recovery alert goes out only for an incident whose down alert was already sent before the window began. Certificate and domain warnings still go out. Use it around a deploy or reboot instead of pause_monitor; it does not cover heartbeats (use pause_heartbeat). For a recurring schedule run preview_maintenance_window first. Requires a key with the write scope. The plan caps h…

ParameterTypeDescription
dtstart *stringThe first start, an ISO 8601 date-time in the wall-clock time of timezone, for example 2026-10-14T22:00:00, in the years 2000 to 2100. A UTC offset or Z is a 422.
duration_minutes *integerHow long each occurrence lasts, 1 to 40320 minutes.
name *stringDisplay name, 1 to 255 characters.
scope *stringORG covers every monitor of the organization and ignores monitor_ids; MONITOR covers only monitor_ids.
enabledbooleanDefault true; false stores the window without effect.
monitor_idsarrayMonitor uuids from list_monitors, at least one when scope is MONITOR, at most 10,000. An id that is not a monitor of this organization is a 404.
rrulestringRepeats the window: one iCal RRULE without the RRULE: prefix, at most 1024 characters, for example FREQ=WEEKLY;BYDAY=SU;BYHOUR=3. Refused: hourly, minutely and secondly frequencies, more than 8 start…
timezonestringIANA zone name such as Europe/Berlin, at most 64 characters. The schedule repeats in it, so a weekly 03:00 stays 03:00 across daylight-saving changes. Defaults to the organization's timezone.

update_maintenance_window Update a maintenance window

Change one maintenance window's name, schedule, scope or monitors, or switch it off with enabled false; only the fields you pass change. While a window is in effect its monitors keep being checked, but no incident opens and no down or change alert goes out; a recovery alert goes out only for an incident whose down alert was already sent before the window began. Certificate and domain warnings still go out. A recurring window cannot become one-time: delete it with delete_maintenance_window and create a new one. Check a new schedule with preview_maintenance_window first. Requires a key with the…

ParameterTypeDescription
window_id *stringThe window's uuid from list_maintenance_windows. An id that is not a window of this organization is a 404.
dtstartstringThe first start, an ISO 8601 date-time in the wall-clock time of timezone, for example 2026-10-14T22:00:00, in the years 2000 to 2100. A UTC offset or Z is a 422.
duration_minutesintegerHow long each occurrence lasts, 1 to 40320 minutes.
enabledbooleanfalse keeps the window but stops it silencing alerts.
monitor_idsarrayReplaces the list when passed. Monitor uuids from list_monitors, at least one when scope is MONITOR, at most 10,000. An id that is not a monitor of this organization is a 404. A deleted monitor the wi…
namestringDisplay name, 1 to 255 characters.
rrulestringRepeats the window: one iCal RRULE without the RRULE: prefix, at most 1024 characters, for example FREQ=WEEKLY;BYDAY=SU;BYHOUR=3. Refused: hourly, minutely and secondly frequencies, more than 8 start…
scopestringORG covers every monitor of the organization and ignores monitor_ids; MONITOR covers only monitor_ids.
timezonestringIANA zone name such as Europe/Berlin, at most 64 characters. The schedule repeats in it, so a weekly 03:00 stays 03:00 across daylight-saving changes.

delete_maintenance_window Delete a maintenance window

Delete one maintenance window; alerts for its monitors resume at once and no tool restores it. To suspend a window but keep it, use update_maintenance_window with enabled false. Requires a key with the write scope. Returns {"success": true}.

ParameterTypeDescription
window_id *stringThe window's uuid from list_maintenance_windows. An id that is not a window of this organization is a 404.

preview_maintenance_window Preview a maintenance schedule

Compute the next three occurrences, each with start and end, that a schedule would produce, without saving anything. Use it to check a recurring schedule before create_maintenance_window or update_maintenance_window; for a saved window's occurrences use get_maintenance_window. Requires a key with the write scope. An invalid schedule is a 422 with the reason. Returns an array. Example: {"dtstart": "2026-10-18T03:00:00", "duration_minutes": 60, "rrule": "FREQ=WEEKLY;BYDAY=SU", "timezone": "Europe/Berlin"}

ParameterTypeDescription
dtstart *stringThe first start, an ISO 8601 date-time in the wall-clock time of timezone, for example 2026-10-14T22:00:00, in the years 2000 to 2100. A UTC offset or Z is a 422.
duration_minutes *integerHow long each occurrence lasts, 1 to 40320 minutes.
rrulestringRepeats the window: one iCal RRULE without the RRULE: prefix, at most 1024 characters, for example FREQ=WEEKLY;BYDAY=SU;BYHOUR=3. Refused: hourly, minutely and secondly frequencies, more than 8 start…
timezonestringIANA zone name such as Europe/Berlin, at most 64 characters. The schedule repeats in it, so a weekly 03:00 stays 03:00 across daylight-saving changes. Defaults to the organization's timezone.

list_status_pages List status pages

List the organization's public status pages. Each has id, slug, name, description, is_published (publicly visible now), history_days, telegram_publish_enabled (incident alerts in the org's Telegram chats offer a draft post and a Publish button for this page; on by default, turned off in the dashboard's page settings), created_at, groups (each with name, position and its components) and ungrouped_components. Each component has id, monitor_id, display_name (null shows the monitor's name), position and monitor (id, name and type). Use it to find a page's id before posting an incident on it. For o…

ParameterTypeDescription
pageintegerPage number, 1 or more; default 1.
qstringCase-insensitive substring of the name or the slug, up to 255 characters.
sizeintegerRows per page, 1 to 100; default 25. Keep paging until you have seen total rows.
sortstringcreated_at (the default, newest first) or name.

list_check_results List a monitor's check results

List one monitor's individual check results, newest first, to find out why it is DOWN: which regions fail and with what status code or error. Each has id, region, region_display_name, checked_at, status, response_time_ms, status_code, error_message, details and maintenance_window_id (set when the check ran inside a window). For HTTP checks details holds, each key only when measured: phase timings of the final request in ms (dns_ms, connect_ms, tls_ms, ttfb_ms = server wait), failed_phase (dns, connect, tls or ttfb) when the request failed, redirect_count, redirect_ms, redirects (url, status_co…

ParameterTypeDescription
monitor_id *stringThe monitor's uuid from list_monitors. An id that is not a monitor of this organization, or a deleted one, is a 404.
pageintegerPage number, 1 or more; default 1.
period_daysintegerKeep results of the last N days. Raw check results are kept for about 3 days, so a larger value returns the same rows as 3. For longer periods use get_uptime_daily (uptime per day) and list_incidents…
regionstringKeep one region's results: its exact code, up to 64 characters.
sizeintegerRows per page, 1 to 100; default 25. Keep paging until you have seen total rows.
statusstringKeep results with this status only.

list_changes List what changed on monitors

List confirmed changes to what monitors observe on their targets, newest first. Recorded today: DNS_ANSWERS from DNS monitors and CERTIFICATE from SSL monitors; REDIRECT and RESPONSE_HEADER are reserved for HTTP monitors and not recorded yet. Use it after a deploy (since = the deploy time) or when something behaves differently with no outage. A change is neutral, not an error: it says the target now looks different, not that anything is wrong, and it opens no incident. An empty page is not proof nothing changed: a change appears only once confirmed (at least 5 minutes after it starts, a remova…

ParameterTypeDescription
include_infobooleanDefault true. false leaves INFO changes out and keeps NOTICE ones; with severity INFO the page is empty.
monitor_idsarrayKeep these monitors' changes: up to 100 monitor uuids from list_monitors, as a JSON array; omit it for all monitors. An id from another organization or a deleted monitor gives an empty page, not a 404…
pageintegerPage number, 1 or more; default 1.
qstringCase-insensitive substring of the monitor's current name, up to 255 characters.
severitystringKeep one severity: NOTICE or INFO.
signalstringKeep one signal: DNS_ANSWERS or CERTIFICATE (REDIRECT and RESPONSE_HEADER are not recorded yet).
sincestringKeep changes first seen at or after this time, ISO 8601 with a UTC offset, for example 2026-11-01T10:02:00Z. A time before the plan's history limit is moved forward to it; a time without an offset is…
sizeintegerRows per page, 1 to 100; default 25. Keep paging until you have seen total rows.
tagarrayKeep items carrying these tags: a JSON array of up to 10 tags, each up to 50 characters, lowercased before matching. tag_match decides whether all or any of them must match.
tag_matchstringall (the default): an item must carry every tag in tag. any: at least one of them.
untilstringKeep changes first seen before this time (exclusive), ISO 8601 with a UTC offset, for example 2026-11-08T00:00:00Z. With since it reads one span; since must be earlier than until, and a time without a…

get_response_time_by_region Get a monitor's response time by region

Chart one monitor's average response time over time, one series per region, to see where it is slow and since when. Returns monitor_id, window, bucket_seconds, regions and slowdown. Each region has region, display_name, points (oldest first, the same buckets in every series: bucket_start, avg_response_time_ms, null when the bucket had no successful check, and sample_count) and percentiles over the whole window (p50_response_time_ms, p95_response_time_ms, p99_response_time_ms and sample_count; interpolated from histograms, so usually within about 5% of the exact value and 15% or more on a spars…

ParameterTypeDescription
monitor_id *stringThe monitor's uuid from list_monitors. An id that is not a monitor of this organization, or a deleted one, is a 404.
fromstringFirst UTC date of a calendar range, YYYY-MM-DD, inclusive. The range is cut to the plan's history; a range entirely older than it returns no data.
tostringLast UTC date of a calendar range, YYYY-MM-DD, inclusive; needs from. Without it, or after today, the range ends today.
windowstring24h (the default; up to 24 hourly buckets), 7d (up to 28 six-hourly buckets), 30d, 90d, 180d or 365d (one bucket per day). A window longer than the plan's history returns no data; get_plan_usage shows…

get_uptime_daily Get a monitor's daily uptime

Report one monitor's uptime for each UTC day, oldest first and ending today, to find the day an outage or degradation began. Each day has date, uptime_percentage, downtime_seconds, observed_seconds, degraded_seconds, total_checks, up_checks, down_checks, degraded_checks and maintenance_checks. degraded_seconds is the day's time in confirmed DEGRADED status (an ongoing degradation counts up to now; 0 on days with no degraded time); it does not lower uptime_percentage. A day with degraded_seconds above 0 and no confirmed outage is a degraded (yellow) day in the dashboard; degraded_checks alone d…

ParameterTypeDescription
monitor_id *stringThe monitor's uuid from list_monitors. An id that is not a monitor of this organization, or a deleted one, is a 404.
daysintegerHow many days to return, 1 to 1095; default 30. Capped at the plan's limits.history_retention_days (get_plan_usage), so fewer days can come back. Not together with from or to.
fromstringFirst UTC date of a calendar range, YYYY-MM-DD, inclusive. The range is cut to the plan's history; a range entirely older than it returns no data.
tostringLast UTC date of a calendar range, YYYY-MM-DD, inclusive; needs from. Without it, or after today, the range ends today.

get_incident Get an incident

Read one incident in full, with every alert sent for it. It has id, monitor_id or heartbeat_id (exactly one is set), monitor (id, name and type) or heartbeat (id and name), started_at, created_at, resolved_at, cause, cause_detail, last_notified_at, acknowledged_at, acknowledged_by, acknowledged_via, acknowledged_by_label, acknowledged_by_user, renotify_count (how many reminders listed this incident) and notification_logs (each alert attempt: id, channel_type, destination, channel_label (the channel's label when the alert was sent; null for a channel without a label, a member's own email, a fal…

ParameterTypeDescription
incident_id *stringThe incident's uuid from list_incidents. An id that is not an incident of this organization is a 404.

get_incident_context Get an incident's context

Read everything around one incident beyond its row: the monitor as configured now, who acknowledged it, how each region's checks went, the latest checks, a per-region timeline and the downtime periods. Use it to tell an outage seen everywhere from one region, how long it was really down, and who acknowledged it by name. Returns monitor, acknowledgement, regions, regions_since, recent_checks, timeline and downtime_periods. monitor has id, name, type, target and regions (code and display_name of each), and is null for a heartbeat or a deleted monitor. acknowledgement is null until someone acknow…

ParameterTypeDescription
incident_id *stringThe incident's uuid from list_incidents. An id that is not an incident of this organization is a 404.

get_incident_diagnosis Diagnose an incident

Read what changed around a monitor incident, computed from the checks Fettle already holds. Start here for a DOWN monitor's open incident (its id from list_incidents with monitor_id and status "open") or a pasted alert, before get_incident or list_check_results. Returns incident_id, state, reason, summary (one line) and diagnosis (window, per-region baseline and state, layer, platform and findings, each with kind, rank, regions and facts) and agent (layer, window with last_good_at, first_bad_at and onset_at, repro: a shell command that repeats the probe from the current config, plus check_targ…

ParameterTypeDescription
incident_id *stringThe incident's uuid from list_incidents. An id that is not an incident of this organization is a 404.
phasestringOPEN (default): what changed when it failed. RECOVERY: what changed when it came back (how each region recovered, slower responses, a new DNS answer or certificate, a deploy during the outage); PENDIN…

rename_tag Rename a tag everywhere

Rename a tag on every monitor and heartbeat that carries it; an item that already has the new name keeps one copy. Use it to fix a naming scheme across the organization; to change the tags of chosen monitors only use bulk_update_monitor_tags, and to drop a tag use delete_tag. Requires a key with the write scope. A tag nothing carries is not an error (both counts are 0). Returns from, to, monitors_updated and heartbeats_updated. Example: {"from": "prod", "to": "env:prod"}

ParameterTypeDescription
from *stringThe existing tag, as list_tags shows it.
to *stringThe new name. Each tag is trimmed, lowercased and deduplicated on write, at most 50 characters of a-z, 0-9 and : _ . / -, starting with a letter or digit. Reuse names from list_tags rather than invent…

delete_tag Remove a tag everywhere

Remove a tag from every monitor and heartbeat that carries it; the items themselves stay, and no tool restores the tag. Use it to retire a tag across the organization; to take it off chosen monitors only use bulk_update_monitor_tags with remove, and to rename it use rename_tag. Requires a key with the write scope. A tag nothing carries is not an error (both counts are 0). Returns from (the tag), monitors_updated and heartbeats_updated.

ParameterTypeDescription
tag *stringThe tag to remove, exactly as list_tags shows it.

get_status_page Get a status page

Read one status page with its components. It has the list_status_pages fields, where each component has id, monitor_id, display_name (null shows the monitor's name), position and monitor (id, name and type). Use it to get the component ids that create_status_page_incident takes as component_ids. To find a page use list_status_pages; for the incidents posted on it use list_status_page_incidents.

ParameterTypeDescription
page_id *stringThe status page's uuid from list_status_pages. An id that is not a status page of this organization is a 404.

list_status_page_incidents List a status page's incidents

List the incidents shown on one status page, newest first, both posted by a person and opened by Fettle. Each has id, title, status, is_auto (opened by Fettle from a monitor), started_at, resolved_at, notified_at (when subscribers were first emailed; null if never), component_ids, components (id and name of each, without those whose monitor was deleted) and updates (the timeline, oldest first, each with id, status, body, created_by, created_by_label (the author's name; both null for an update Fettle wrote; for a post published from Telegram created_by is null and the label ends with ' via Tele…

ParameterTypeDescription
page_id *stringThe status page's uuid from list_status_pages. An id that is not a status page of this organization is a 404.
pageintegerPage number, 1 or more; default 1.
qstringCase-insensitive substring of the title, up to 255 characters.
sizeintegerRows per page, 1 to 100; default 25. Keep paging until you have seen total rows.

draft_status_page_post Draft a status page post

Write the text of the page's next incident post from the monitor outages affecting it. It only drafts: nothing is posted and no subscriber is emailed. Show the draft to the user and post it with create_status_page_incident (a new-incident draft) or post_status_page_update (an update draft) only after the user confirms; both email the page's subscribers. Without incident_id it drafts a new incident; with incident_id, the next update of that open incident (it says resolved once every outage behind it has recovered). Returns kind (OPENING for a new incident, UPDATE for an update), title (null for…

ParameterTypeDescription
page_id *stringThe status page's uuid from list_status_pages. An id that is not a status page of this organization is a 404.
component_idsarrayNew incident only: the components it is about, uuids from get_status_page. Omit to draft from every component of the page. Not with incident_id.
incident_idstringDraft the next update of this open status page incident: an id from list_status_page_incidents. Omit it to draft a new incident. Not with component_ids.

create_status_page_incident Post an incident on a status page

Open a new incident on a status page with its first message, to tell the page's visitors about an outage. It is public and emails the page's confirmed subscribers: confirm the wording with the user before calling. Any status but RESOLVED emails every confirmed subscriber at once; RESOLVED records an already closed incident (a postmortem) and emails nobody. To add to an existing incident use post_status_page_update. Draft the text first with draft_status_page_post. Requires a key with the write scope. Returns the incident. Calls are limited to 10 per minute, shared by create_status_page_inciden…

ParameterTypeDescription
body *stringThe first message. The message subscribers read, 1 to 5000 characters.
page_id *stringThe status page's uuid from list_status_pages. An id that is not a status page of this organization is a 404.
title *stringThe incident's headline, 1 to 255 characters.
component_idsarrayThe affected components: uuids from get_status_page. An id that is not a component of this page is a 404.
statusstringINVESTIGATING, IDENTIFIED, MONITORING or RESOLVED; RESOLVED closes the incident on the page. Default INVESTIGATING.

post_status_page_update Post an update to a status page incident

Add a message to an existing status page incident and set its status; RESOLVED closes it. It is public and emails the page's confirmed subscribers: confirm the wording with the user before calling. Every confirmed subscriber gets the update, except that resolving an incident they were never told about stays silent. To open a new incident use create_status_page_incident; to fix only the title, silently, use update_status_page_incident. Draft the update first with draft_status_page_post. Requires a key with the write scope. A resolved incident accepts only further RESOLVED updates; any other sta…

ParameterTypeDescription
body *stringThe message subscribers read, 1 to 5000 characters.
incident_id *stringThe status page incident's uuid from list_status_page_incidents (not from list_incidents). An unknown id is a 404.
page_id *stringThe status page's uuid from list_status_pages. An id that is not a status page of this organization is a 404.
status *stringINVESTIGATING, IDENTIFIED, MONITORING or RESOLVED; RESOLVED closes the incident on the page.

update_status_page_incident Rename a status page incident

Change a status page incident's title without telling anyone: nothing is sent to subscribers. To change its status or add a message use post_status_page_update. Requires a key with the write scope. Returns the incident. Example: {"page_id": "<id from list_status_pages>", "incident_id": "<id from list_status_page_incidents>", "title": "API errors in eu-central"}

ParameterTypeDescription
incident_id *stringThe status page incident's uuid from list_status_page_incidents (not from list_incidents). An unknown id is a 404.
page_id *stringThe status page's uuid from list_status_pages. An id that is not a status page of this organization is a 404.
title *stringThe new headline, 1 to 255 characters.

delete_status_page_incident Delete a status page incident

Remove an incident and its timeline from a status page; it stops showing at once, nothing is sent to subscribers, and no tool restores it. Use it for an incident posted by mistake; to close a real one use post_status_page_update with RESOLVED. Requires a key with the write scope. Returns {"success": true}.

ParameterTypeDescription
incident_id *stringThe status page incident's uuid from list_status_page_incidents (not from list_incidents). An unknown id is a 404.
page_id *stringThe status page's uuid from list_status_pages. An id that is not a status page of this organization is a 404.

list_channels List notification channels

List the organization's notification channels, to get the ids that channel_ids of monitors and heartbeats take: every member's own email channel, then added email addresses, then the other channels. Each has id, type, label, is_verified, is_active, state, member_name (the member whose own email channel it is, else null) and destination_hint (a masked email address, a chat id, or a webhook's scheme and host). state is WORKING, MUTED, PENDING_CONFIRMATION, BROKEN or PLAN_DISABLED (off because of the plan: it receives nothing until it is enabled again in the dashboard); only a WORKING channel rec…

ParameterTypeDescription
idsarrayKeep these channels: a JSON array of 1 to 100 channel uuids, for example the channel_ids of a monitor that has some; never []. Unknown ids are left out. Not together with q (a 422).
pageintegerPage number, 1 or more; default 1.
qstringCase-insensitive substring of the label, the member's name or destination_hint, up to 255 characters; a webhook is found by its label only. Not together with ids (a 422).
sizeintegerRows per page, 1 to 100; default 25. Keep paging until you have seen total rows.
statearrayKeep channels in any of these states: a JSON array.
typearrayKeep channels of any of these types: a JSON array.

list_regions List check regions

List every check region of the platform, to show the user where checks can run. Returns regions, each with code (what a regions argument takes), display_name, city, country_code, group and group_display_name. The organization may use only some of them: to choose regions for a monitor read limits.allowed_regions and max_regions from get_plan_usage instead. For one monitor's per-region timings use get_response_time_by_region.

check_target Probe a target before creating a monitor

Run one real check of a target from one region chosen by Fettle, without creating anything. It reports status (up, down, error or unknown), region, response_time_ms, status_code, error and failure_kind. unknown means no definite answer came back, not a failure. Use it before create_monitor to catch a typo or an unreachable host; a down result does not stop you creating the monitor. For a monitor that already exists use check_now. Requires a key with the write scope. It is rate limited per calling address for an API key, per user for an app connection: a 429 whose retry_after says how many seco…

ParameterTypeDescription
target *stringWhat to check, up to 2048 characters. HTTP: an http:// or https:// URL (https:// is added when the scheme is missing; port, path and query are kept). PING, SSL, TCP and DNS: a bare public hostname or…
type *stringHTTP (a URL answers with an expected status), PING (a host answers ICMP), SSL (a certificate is valid and not about to expire), TCP (a port is open, or a list of ports is closed) or DNS (a record reso…
configobjectAs in create_monitor; TCP and DNS need it. The region, interval and update rules there do not apply to a one-off probe. An object whose fields depend on type, all optional unless stated. HTTP: method…

record_deploy Mark a deploy

Record that a deploy happened: the commit or tag (ref), when it finished (deployed_at) and which monitors it touched (monitor_ids, or tag + tag_match). Fettle stores it so that verify_deploy shows it and a later incident on those monitors can name it as the suspect deploy, with compare_url as the link. It runs no check. Call it only as part of a deploy check the user agreed to, or when the user asks, and only when you know the commit or tag. Repeating the same deployed_at and ref returns the stored marker, so on a retry reuse the exact deployed_at you sent first; a new value records a second d…

ParameterTypeDescription
deployed_at *stringWhen the deploy finished, ISO 8601 with a UTC offset such as Z; without an offset it is a 422. At most 24 hours back and at most 300 seconds ahead. Together with ref it is the key that makes a retry s…
ref *stringThe commit SHA, tag or branch: 1 to 200 printable characters with no spaces; anything else is a 422.
compare_urlstringOptional https:// link to the diff, up to 2048 characters; shown as a link and never fetched.
monitor_idsarray1 to 100 distinct monitor uuids from list_monitors, paused ones included; not together with tag. A repeated id is a 422; an id that is not a monitor of this organization is a 404 naming it.
tagarray1 to 10 tags that select the monitors, as in list_tags; not together with monitor_ids. Tags matching no monitor, or more than 100, are a 422.
tag_matchstringWith tag only: all (default) needs every tag, any needs at least one.

verify_deploy Compare monitors before and after a deploy

Compare monitors before and after a deploy, without running any check. For each monitor it compares the checks since `since` with the 24 hours before it, per region, and returns verdict PASS, REGRESSED (most regions slower or failing more than in the baseline, or one region failing), FAIL (most regions failing now, or an incident whose first failing check is at or after `since`) or INSUFFICIENT_DATA (too few checks yet: wait `retry_after_seconds` and call again; or too little history: say so and stop). These verdicts are not monitor statuses: REGRESSED is not the DEGRADED of list_monitors. Che…

ParameterTypeDescription
since *stringWhen the deploy finished, ISO 8601 with a UTC offset, for example 2026-11-01T10:02:00Z. At most 24 hours ago; up to 5 minutes ahead is read as now. A time without an offset is a 422. Use the deployed_…
monitor_idsarray1 to 100 distinct monitor uuids from list_monitors. A repeated id is a 422 and an unknown id is a 404 naming it. Not with tag.
tagarrayKeep items carrying these tags: a JSON array of up to 10 tags, each up to 50 characters, lowercased before matching. tag_match decides whether all or any of them must match. At most 100 monitors (paus…
tag_matchstringall (the default): an item must carry every tag in tag. any: at least one of them.