Docs

Type a word or a question. Esc closes the search.

Sign in Start free

List monitors

Lists monitors in the current scope.

GET https://app.upfour.io/v1/monitors
GET https://app.upfour.io/v1/monitors
Authorization
AuthorizationA pls_ key. It stays in this browser tab. Needs monitor.read.
Query

Sent directly from your browser to https://app.upfour.io/v1. Mutating calls get an automatic Idempotency-Key when the field is empty.

Request
Responsenot sent yet
Fill in a key and press Send request (⌘↵).
The answer appears here.
scope monitor.read stable returns 200

Parameters

FieldTypeDescription
limit optional integer 1–250default 50 query parameter
cursor optional string query parameter
client_id optional uuid query parameter
all_clients optional boolean query parameter
q optional string query parameter
sort optional string query parameter
status optional string one ofUPDOWNPAUSED query parameter
monitor_type optional string one ofhttppingtcpdns query parameter
region optional string query parameter

Returns

A successful request returns 200 with application/json.

Response fields 2 top-level fields
FieldTypeDescription
data Monitor[] · nullable
Each item · 70 fields
FieldTypeDescription
alert_type string one ofstatuskeywordkeyword_absenceexpected_status_code
auth_username string
capture_on_incident_open boolean
confirmation_period integer
created_at string (date-time)
degraded_alert_enabled boolean
degraded_threshold_ms integer · nullable
domain_expiry_alert_days integer · nullable
escalation_policy_id uuid · nullable
expected_status_code integer · nullable
feature_pause_reasons string[] · nullable
follow_redirects boolean
has_auth_password boolean
has_request_headers boolean
http_method string
id uuid
interval_seconds integer
ip_version string one of""46
is_degraded boolean
is_pending boolean
keep_cookies boolean
keyword string
keyword_case_insensitive boolean
maintenance_from string · nullable
maintenance_timezone string
maintenance_to string · nullable
maintenance_weekdays string[] · nullable one ofmontuewedthufrisatsun
monitor_type string one ofhttptcppingdns
name string
next_check_at string (date-time) · nullable
notification_mode string one ofquietimmediate
notify_recovery boolean
pronounceable_name string
proxy_host string
proxy_port integer · nullable
public_name string
recovery_period integer
regions string[] · nullable one ofeuusasiaaudefault
request_body string
request_headers any[] · nullable Always empty: header values are never returned. has_request_headers says whether the monitor sends any.
request_timeout_s integer
ssl_expiry_alert_days integer · nullable
ssl_verification boolean
state string one ofUPDOWNPAUSED
url string
user_id uuid
badge_token string
client_id uuid
dns_expected string
dns_query string
dns_server string
dns_type string one ofAAAAAMXCNAMETXTNS
freshness_timeout_seconds integer
last_checked_at string (date-time)
last_result_at string (date-time)
last_state_change_at string (date-time)
latency_p50_ms integer
latency_p95_ms integer
latency_samples_24h integer
latest_result_successful boolean
monitor_group_id uuid
paused_until string (date-time)
recent_incidents MonitorRecentIncident[]
Each item · 5 fields
FieldTypeDescription
id uuid
resolved_at string (date-time) · nullable
started_at string (date-time)
status string
resolved_by_type string
tcp_host string
tcp_port integer
pagination Pagination
Pagination · 5 fields
FieldTypeDescription
cursor string · nullable
has_more boolean
limit integer 1–250
next_cursor string · nullable
prev_cursor string · nullable

Errors

Only the errors this operation can return. Every error uses the same envelope.

Status Code Meaning
400 bad_request The request is malformed or fails validation.
400 cursor_expired The list cursor has expired. When: Paging a monitor list with a cursor that is too old. Fix: Start again without a cursor.
400 cursor_invalid The list cursor is not valid. When: Paging a monitor list with a cursor that was not issued by the API or was altered. Fix: Use the cursor from the previous response unchanged, or start without one.
400 cursor_parameters_changed The filters changed since the cursor was issued. When: Paging a monitor list with a cursor while sort or filter parameters differ from the first request. Fix: Keep the parameters the same for all pages, or start again without a cursor.

Every call can also return unauthorized (401), rate_limit_exceeded (429) or internal_error (500 / 502). See Responses and errors.