12happy uptime monitoring
v0.1.2Create uptime monitors, read incidents, uptime and response times, and silence alerts for deploys.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_overview Account overview
How the account is doing right now: monitors up, down, degraded and paused, open and unacknowledged incidents, and uptime over the last N days. Start here when asked "is anything down?".
| Parameter | Type | Description |
|---|---|---|
days | integer | Uptime window in days (default 30). |
organization | string | Organization id. Leave out to use your own account; resellers can name a client organization. |
list_monitors List monitors
Every monitor on the account with its current status (up, down, degraded, unknown or paused), check type, target and interval.
| Parameter | Type | Description |
|---|---|---|
organization | string | Organization id. Leave out to use your own account; resellers can name a client organization. |
search | string | Only monitors whose name or target contains this text. |
status | string | Only monitors in this state. |
get_monitor Get a monitor
One monitor's full settings and its most recent check results from each region, including status codes, errors and response times. Use it to explain why a monitor is down.
| Parameter | Type | Description |
|---|---|---|
monitor_id * | string | The monitor id, from list_monitors. |
failures_only | boolean | Only failed checks. |
results | integer | How many recent results to include (default 10). |
get_uptime_report Uptime and response time report
A monitor's uptime percentage and response times (p50, p95, p99) over a period, in hourly or daily buckets, overall or for one region. Use it for SLA questions and "was it slow yesterday?".
| Parameter | Type | Description |
|---|---|---|
monitor_id * | string | The monitor id, from list_monitors. |
days | integer | Look back this many days (default 7). Ignored when from is given. |
from | string | Start, ISO 8601 (e.g. 2026-11-01T00:00:00Z). |
include_buckets | boolean | Include the per-hour or per-day series, not just the totals (default false). |
region | string | One region code from list_regions, e.g. ams, nyc or tlv. Leave out for all regions. |
to | string | End, ISO 8601. Defaults to now. |
list_incidents List incidents
Outages and slowdowns, newest first: which monitor, why, which regions confirmed it, when it opened and closed, and whether someone acknowledged it.
| Parameter | Type | Description |
|---|---|---|
limit | integer | At most this many (default 20). |
monitor_id | string | Only incidents for this monitor. |
open_only | boolean | Only incidents that are still open. |
organization | string | Organization id. Leave out to use your own account; resellers can name a client organization. |
list_alert_channels List alert channels
Where alerts can go (email, Slack, webhook, SMS and so on), whether each one is verified and delivering, and how many monitors use it. Needed for set_monitor_alerts.
| Parameter | Type | Description |
|---|---|---|
organization | string | Organization id. Leave out to use your own account; resellers can name a client organization. |
list_regions List check regions
The regions monitors can be checked from, with their codes, for create_monitor and get_uptime_report.
create_monitor Create a monitor
Start watching a website, API, server or certificate. Only the target is required; sensible defaults cover the rest, and the first check runs immediately. Use check_type keyword with keyword to require text on the page, ssl_cert or dns with a bare hostname, ping with a hostname or IP, and tcp with host:port. For a cron job, backup or script, use check_type heartbeat: no target is needed, interval_seconds is how often the job runs, and the answer has the URL the job must call each time it finishes. A beat that is later than the interval plus grace_period_seconds opens an incident.
| Parameter | Type | Description |
|---|---|---|
alert_channel_ids | array | Alert these channels (ids from list_alert_channels) when it goes down. Without this, nobody is alerted. |
check_type | string | Defaults to http for URLs. |
expected_status_codes | array | HTTP codes that count as up (default [200]). |
grace_period_seconds | integer | For heartbeat: how late a beat may be before it counts as missed. The API default applies when left out. |
interval_seconds | integer | How often to check. The plan sets the minimum (Free 300, Pro 30, Agency 15). Defaults to the plan's default. For heartbeat: how often the job runs. |
keyword | string | For keyword checks: text that must appear in the response. |
keyword_absent | boolean | For keyword checks: alert when the keyword IS present instead. |
name | string | A display name. Defaults to the target. |
organization | string | Organization id. Leave out to use your own account; resellers can name a client organization. |
regions | array | Region codes from list_regions. Leave out for the default set. Not for heartbeat, which is called rather than checked. |
target | string | What to watch: a URL (https://example.com/health), a hostname, or host:port for TCP. Required except for heartbeat. |
update_monitor Update a monitor
Change a monitor's name, target, interval, regions, keyword, expected status codes or slow threshold. Only the fields given change.
| Parameter | Type | Description |
|---|---|---|
monitor_id * | string | The monitor id, from list_monitors. |
expected_status_codes | array | |
interval_seconds | integer | |
keyword | string | For keyword checks. |
name | string | |
regions | array | Region codes from list_regions. |
slow_above_ms | Mark the monitor degraded when responses are slower than this; null turns it off. | |
target | string | |
timeout_ms | integer |
pause_monitor Pause or resume a monitor
Pause a monitor (keeps its history, stops checks and alerts) or resume it.
| Parameter | Type | Description |
|---|---|---|
monitor_id * | string | The monitor id, from list_monitors. |
paused * | boolean | true to pause, false to resume. |
check_now Check a monitor now
Run a monitor's next check immediately instead of waiting for its interval, for example after fixing a server. Read the result with get_monitor a few seconds later.
| Parameter | Type | Description |
|---|---|---|
monitor_id * | string | The monitor id, from list_monitors. |
delete_monitor Delete a monitor
Permanently delete a monitor with its history and incidents. This cannot be undone; prefer pause_monitor unless the user clearly wants it gone.
| Parameter | Type | Description |
|---|---|---|
monitor_id * | string | The monitor id, from list_monitors. |
acknowledge_incident Acknowledge an incident
Take ownership of an open incident, which stops its escalation to the next alert channels. The incident closes by itself when the monitor recovers.
| Parameter | Type | Description |
|---|---|---|
incident_id * | string | The incident id, from list_incidents. |
start_maintenance Start a maintenance window
Silence alerts (or pause checks) for a deploy or planned work, starting now unless a start time is given. Covers every monitor unless monitor_ids is given.
| Parameter | Type | Description |
|---|---|---|
duration_minutes * | integer | How long the window lasts. |
monitor_ids | array | Only these monitors. Leave out for all. |
organization | string | Organization id. Leave out to use your own account; resellers can name a client organization. |
starts_at | string | ISO 8601 start time. Defaults to now. |
suppress | string | alerts (default) keeps checking but alerts nobody; checks stops checking altogether. |
title | string | What the work is, e.g. "Deploy v2.4". |
set_monitor_alerts Set who a monitor alerts
Replace the alert channels a monitor notifies, optionally as an escalation chain (alert Slack at once, SMS after 10 minutes). An empty list alerts nobody.
| Parameter | Type | Description |
|---|---|---|
monitor_id * | string | The monitor id, from list_monitors. |
routes * | array |