Skip to content

Check resources and writes

GET /checks relative to /api/v1 / MCP list_checks. Requires checks:read; supports limit/cursor and:

Query Values
q Name search, string up to 255 characters
kind ping, website, dns, tcp, domain, ssl_certificate
status pending, up, late, down, paused, degraded. Repeat it as status[] to match several, such as status[]=down&status[]=late

GET /checks/:id / MCP get_check requires checks:read and the returned check ID. Both return safe check resources:

{
"id": "check_EXAMPLE",
"status": "pending",
"status_reason": null,
"last_activity_at": null,
"expires_on": null,
"configuration": {
"name": "Public website",
"kind": "website",
"url_configured": true,
"url": "https://www.example.com/health",
"url_has_query": false,
"interval_seconds": 3600,
"degraded_threshold": null,
"failing_threshold": 1,
"expected_status_code": 200,
"follow_redirects": false,
"probe_locations": ["us-east-1"]
},
"notification_group_ids": [],
"dashboard_ids": []
}

The example ID is a placeholder; use actual response IDs. last_activity_at is when the check last ran: the latest heartbeat ping or probe across its locations, or its last DNS or renewal lookup. It’s null until the first run. expires_on is the date an SSL certificate or domain registration expires, and null for other kinds or before the first lookup. status_reason says why a check isn’t up, taken from the cause of its open incident. It’s null for checks that are up, pending or paused, and when no cause was recorded.

Configuration contains fields for that kind. A website check’s url is its address without any query string or sign-in credentials, because those are where tokens tend to sit. url_has_query says whether the saved URL has a query string. Website and TCP checks also list probe_locations, the region IDs the check runs from.

POST /checks / MCP create_check: requires checks:create, check object, and idempotency. Name and kind are required.

PATCH /checks/:id / MCP update_check: requires checks:update, ID and check object. Supply only changed supported fields. Kind cannot change. Unknown fields and fields belonging to another kind are rejected.

{
"check": {
"name": "Renamed website",
"interval_seconds": 3600
}
}
Field Constraint
name Nonempty string, at most 255 characters
kind One of the six kind strings; required on create, immutable afterward
notification_group_ids Up to 100 unique existing account group IDs; requires notification_groups:assign
dashboard_ids Create only; up to 100 unique existing custom dashboard IDs; requires dashboards:assign

On create, leave out notification_group_ids to give the check the account’s Default group, or pass [] for none. Omitting an association preserves it on update. An empty group array clears group assignments. Dashboard membership changes after creation use the assignment operations, not dashboard_ids on update.

Field Accepted / default
schedule_type interval (default) or cron
interval_seconds Positive integer, required for interval; no API-created interval default
cron_expression String up to 255 or null; required and valid for cron
timezone Known timezone string up to 255; default UTC
grace_period_seconds Integer >=0; default zero
degraded_threshold Positive integer or null; default null requires all
failing_threshold Positive integer; default one

Neither threshold can be more than the check’s locations. A new website or TCP check starts with one probe location, so send probe_locations in the same request when you set a threshold above 1. Otherwise the request fails validation. | value_direction | above, below or null | | value_warning_threshold | Number or null | | value_critical_threshold | Number or null |

Value thresholds must be supplied together. Critical is greater than warning for above, less for below; comparisons include equality.

Field Accepted / default
url Required nonempty public HTTP/HTTPS URL, at most 4096 characters
interval_seconds Required positive integer at or above plan floor
expected_status_code Integer 100-599; default 200
follow_redirects Boolean; default false
probe_locations Region IDs to probe from; see probe locations
degraded_threshold, failing_threshold Quorum as above
Field Accepted / default
hostname Required valid ASCII DNS name, up to 255 characters at schema level
dns_record_type Required A, AAAA, CNAME, MX, TXT, NS or CAA
dns_match_mode resolves, exact or includes; when omitted, includes for A/AAAA/TXT and exact otherwise
dns_expected_values Array of up to 100 strings, each up to 4096 characters; model also enforces byte limits; required nonempty for exact/includes
interval_seconds Required positive integer at or above plan floor
degraded_threshold null/all-three or integer 1-3
failing_threshold Integer 1-3; default two

Use a JSON array, not the UI’s line-separated dns_expected_values_text. See DNS normalization and propagation.

Field Accepted / default
hostname Required valid bare hostname
port Required integer 1-65535
interval_seconds Required positive integer at or above plan floor
probe_locations Region IDs to probe from; see probe locations
degraded_threshold, failing_threshold Quorum as above

Website and TCP checks accept probe_locations, a nonempty array of unique region IDs such as us-east-1. Read the available IDs from probe_locations in account capabilities. When you leave the field out on create, the check runs from the default location.

On update, the array replaces the whole set, so include every location the check should keep. New locations start probing right away. Removing a location drops its results from the check’s status, which is recalculated.

{
"check": {
"probe_locations": ["us-east-1", "eu-west-1"]
}
}

Unknown IDs, an empty array, or the field on another check kind return invalid_arguments. So does a location that is no longer active, unless the check already runs from it. More locations than the plan’s limits.included_probe_locations (no cap when it is missing or null) returns quota_exceeded. In both cases nothing changes.

Field Accepted
hostname Required bare valid hostname
renewal_warning_days Required positive integer
renewal_critical_days Required positive integer less than warning

Cadence is fixed hourly; these kinds do not accept configurable interval, cron or location quorum fields.

Schema validation and model validation both apply. A schema-valid body can still fail hostname, quota, cadence or cross-field checks. Integer cadence and day/count fields are bounded by 2,147,483,647 at the shared schema layer.

See errors for validation_failed and quota_exceeded. No API field configures custom headers.

POST /checks/:id/pause and POST /checks/:id/resume require checks:update. Both return the check resource and are safe to repeat.

The MCP tools pause_check and resume_check need checks:pause instead, a sensitive permission that starts unticked.

Pausing sets the status to paused. A paused check isn’t probed, ignores heartbeats and doesn’t change status or alert. An incident that was open when you paused stays open.

Resuming sets the status to pending and reschedules every location, so the check doesn’t treat the pause as missed check-ins. It returns to up, or opens an incident, from its next results.

DELETE /checks/:id / MCP delete_check requires checks:delete, a sensitive permission. Deleting is permanent: the check’s run history, incidents and uptime record go with it, and monitoring of that target stops. Returns {"id": "check_EXAMPLE", "name": "Public website", "deleted": true}.

Deletes count toward the delete limit, and the account owner is emailed a list of what was deleted.