Entwickler

API-Dokumentation

Ihre Programme können, was das Dashboard kann: Monitore, Heartbeats und Server erstellen und ändern, Verfügbarkeit, Prüfungen, Messwerte und Vorfälle lesen, Vorfälle bestätigen und auf Statusseiten veröffentlichen.

Die Beschreibungen der Routen und Felder sind auf Englisch.

Auf dieser Seite

Erste Schritte

Die API spricht JSON über HTTPS. Jede Adresse beginnt mit:

https://app.uptimezy.com/api/v1
  1. Öffnen Sie im Dashboard „API-Schlüssel“ und erstellen Sie einen Schlüssel. Geben Sie ihm nur die Berechtigungen, die Ihr Programm braucht.
  2. Kopieren Sie den Schlüssel, wenn er angezeigt wird. Er wird nur einmal angezeigt: Wir speichern nur einen Hash davon, also kann ihn später niemand lesen, auch wir nicht.
  3. Fragen Sie die API, zu welchem Arbeitsbereich der Schlüssel gehört. Die Antwort enthält die ID des Arbeitsbereichs, die jede andere Adresse braucht.
Anfrage
curl https://app.uptimezy.com/api/v1/api-key \
  -H "Authorization: Bearer $API_KEY"
Antwort · 200
{
  "id": "key_0192f0c1a2b37c4d8e5f6a7b8c9d0a01",
  "name": "Status board",
  "prefix": "mk_Zq4tN8wL",
  "scopes": [
    "monitors:read",
    "reports:read"
  ],
  "organization_id": "org_0192f0c1a2b37c4d8e5f6a7b8c9d0001"
}

Dashboard öffnen

Anmeldung

Senden Sie den Schlüssel mit jeder Anfrage im Authorization-Header:

Authorization: Bearer mk_…
  • Ein Schlüssel gehört zu einem Arbeitsbereich und funktioniert nur mit den Adressen dieses Arbeitsbereichs.
  • Ein Schlüssel kann nur, was seine Berechtigungen erlauben. Eine Anfrage, die eine andere Berechtigung braucht, erhält den Status 403 und den Code insufficient_scope.
  • Bewahren Sie Schlüssel auf Ihrem Server auf, nie in einer Webseite oder einer mobilen App. Wenn ein Schlüssel bekannt wird, widerrufen Sie ihn im Dashboard: Er funktioniert dann sofort nicht mehr.

Berechtigungen

BerechtigungWas sie erlaubt
monitors:readMonitore auflisten und einen Monitor lesen
monitors:createMonitore erstellen
monitors:updateMonitore ändern, pausieren und fortsetzen
monitors:deleteMonitore löschen
reports:readVerfügbarkeit, Prüfungen und Vorfälle lesen
incidents:acknowledgeVorfälle bestätigen: Der Vorfall nennt den Schlüssel
heartbeats:readHeartbeats auflisten, einen lesen, und ihre Vorfälle (ohne ihre geheimen Adressen)
heartbeats:createHeartbeats erstellen: Die Antwort enthält die neue Adresse
heartbeats:updateHeartbeats ändern, pausieren und fortsetzen, und einem eine neue Adresse geben
heartbeats:deleteHeartbeats löschen
servers:readServer auflisten, einen mit seinen Messwerten lesen, und ihre Alarme
servers:createServer hinzufügen: Die Antwort enthält das Token und den Installationsbefehl
servers:updateServer umbenennen, ihre Tags ändern, und einem ein neues Token geben
servers:deleteServer entfernen
status_pages:readStatusseiten auflisten, eine lesen, ihre Vorfälle und geplanten Wartungen
status_pages:postVorfälle, Updates und geplante Wartungen auf Statusseiten veröffentlichen: sofort öffentlich und per E-Mail an die Abonnenten (10 Beiträge pro Seite und Stunde)
source_maps:uploadSource Maps der minifizierten Skripte einer Website hochladen (der Schlüssel kann sie nicht wieder lesen)

Limits

Jeder Schlüssel hat sein eigenes Anfragelimit. Es hängt vom Tarif des Arbeitsbereichs ab:

TarifAnfragen pro Minute
Kostenlos60
Pro300
Team600
Business1.200
Enterprise2.400
  • Über dem Limit hat die Antwort den Status 429, den Code rate_limited und einen Retry-After-Header mit der Zahl der Sekunden, die zu warten sind. Alle Anfragen von einer Adresse teilen sich zusätzlich ein eigenes Limit, sodass Programme auf demselben Server einander bremsen können.
  • Der Inhalt einer Anfrage darf höchstens 64 KB groß sein.
  • Die Zahl der Monitore und das kürzeste Prüfintervall hängen ebenfalls vom Tarif ab. Eine Anfrage über einem solchen Limit erhält den Status 403 und den Code plan_limit_reached.

Tarife vergleichen

KI-Assistenten (MCP)

KI-Assistenten wie ChatGPT und Claude Code können Ihren Workspace über MCP (Model Context Protocol) nutzen. Sie verbinden sich mit dieser Adresse:

https://app.uptimezy.com/api/mcp
  1. Anmelden (ChatGPT, Claude Code): Der Assistent öffnet eine Seite des Dashboards, auf der Sie den Workspace wählen und festlegen, was er tun darf. Er handelt für Sie: Er kann nie mehr, als Ihre Rolle erlaubt, und hört auf, wenn Sie den Workspace verlassen.
  2. Oder ein API-Schlüssel (jeder Assistent, der einen Header senden kann): Öffnen Sie im Dashboard „API-Schlüssel“, erstellen Sie einen Schlüssel nur mit den Berechtigungen, die der Assistent nutzen darf, und geben Sie ihm den Header Authorization: Bearer mk_….

Was ein Assistent tun kann

WerkzeugWas sie erlaubt
list_monitorsBerechtigung: monitors:readDie Monitore mit ihrem aktuellen Status auflisten
get_monitorBerechtigung: monitors:readEinen Monitor lesen
monitor_reportBerechtigung: reports:readLetzte Prüfungen, Antwortzeit und Vorfälle eines Monitors
monitor_uptimeBerechtigung: reports:readVerfügbarkeit und Ausfallzeit für den letzten Tag, die Woche, den Monat, das Jahr oder gewählte Tage, und ob das Ziel erreicht wurde
list_incidentsBerechtigung: reports:readDie Vorfälle der Monitore auflisten, offene zuerst
acknowledge_incidentBerechtigung: incidents:acknowledgeEinen offenen Vorfall bestätigen: Die Eskalation stoppt und das Team erfährt, wer sich kümmert
list_heartbeatsBerechtigung: heartbeats:readDie Heartbeats mit ihrem aktuellen Status auflisten
get_heartbeatBerechtigung: heartbeats:readEinen Heartbeat lesen, mit dem, was sein Job zuletzt gesendet hat, und seinen Vorfällen
list_heartbeat_incidentsBerechtigung: heartbeats:readDie Vorfälle der Heartbeats auflisten, offene zuerst
pause_heartbeatBerechtigung: heartbeats:updateEinen Heartbeat pausieren
resume_heartbeatBerechtigung: heartbeats:updateEinen pausierten Heartbeat wieder einschalten
list_serversBerechtigung: servers:readDie Server mit ihrer neuesten Minute auflisten
get_serverBerechtigung: servers:readEinen Server mit seinen Datenträgern, aktivsten Prozessen und Alarmen lesen
server_metricsBerechtigung: servers:readCPU, Speicher, Datenträger, Last und Netzwerk eines Servers, von der letzten Stunde bis zu 30 Tagen
list_server_incidentsBerechtigung: servers:readDie Alarme der Server auflisten, offene zuerst
list_status_pagesBerechtigung: status_pages:readDie Statusseiten auflisten
list_status_incidentsBerechtigung: status_pages:readDie auf einer Statusseite veröffentlichten Vorfälle auflisten
list_maintenanceBerechtigung: status_pages:readDie geplanten Wartungen aller Statusseiten auflisten
post_status_incidentBerechtigung: status_pages:postEinen Vorfall auf einer Statusseite veröffentlichen (öffentlich, E-Mail an Abonnenten)
update_status_incidentBerechtigung: status_pages:postEin Update zu einem Statusseiten-Vorfall veröffentlichen
schedule_maintenanceBerechtigung: status_pages:postEine geplante Wartung auf einer Statusseite ankündigen (ohne Alarme stummzuschalten)
create_monitorBerechtigung: monitors:createEinen Website-, Keyword-, Port-, Ping- oder DNS-Monitor erstellen
pause_monitorBerechtigung: monitors:updateEinen Monitor pausieren
resume_monitorBerechtigung: monitors:updateEinen pausierten Monitor wieder einschalten

Ihren Assistenten verbinden

Claude (claude.ai und die Apps): Öffnen Sie Customize > Connectors, wählen Sie „+ Add“ und dann „Add custom connector“ und geben Sie einen Namen und die Adresse ein. In den Tarifen Team und Enterprise fügt ein Owner ihn unter Organization settings > Connectors hinzu. Die Anmeldung aus Claude haben wir nicht getestet: Um einen Schlüssel zu nutzen, fügen Sie unter „Request headers“ den Header Authorization: Bearer mk_… hinzu.

ChatGPT: Öffnen Sie Plugins, wählen Sie das Plus-Symbol und „Add custom MCP server“, geben Sie die Adresse ein und melden Sie sich an, wenn ChatGPT fragt.

Claude Code: Führen Sie diesen Befehl aus; er öffnet Ihren Browser zur Anmeldung. Um stattdessen einen Schlüssel zu nutzen, fügen Sie --header "Authorization: Bearer mk_…" hinzu. Mit --scope user gilt er in jedem Projekt.

Claude Code
claude mcp add --transport http uptimezy https://app.uptimezy.com/api/mcp

Cursor (~/.cursor/mcp.json) und VS Code (.mcp.json): Fügen Sie den Server hinzu und bewahren Sie den Schlüssel in einer Umgebungsvariablen auf, nicht in der Datei.

Cursor · ~/.cursor/mcp.json
{
  "mcpServers": {
    "uptimezy": {
      "url": "https://app.uptimezy.com/api/mcp",
      "headers": {
        "Authorization": "Bearer ${env:UPTIMEZY_API_KEY}"
      }
    }
  }
}
VS Code · .mcp.json
{
  "mcpServers": {
    "uptimezy": {
      "type": "http",
      "url": "https://app.uptimezy.com/api/mcp",
      "headers": {
        "Authorization": "Bearer ${UPTIMEZY_API_KEY}"
      }
    }
  }
}
  • Ein Assistent sieht nur die Werkzeuge, die seine Berechtigungen erlauben. Jede Änderung, die er macht, steht im Audit-Protokoll mit dem Hinweis „über einen KI-Assistenten (MCP)“: mit Ihrem Namen, wenn er sich angemeldet hat, als „API-Schlüssel“ mit der ID des Schlüssels, wenn er einen Schlüssel nutzt.
  • Wenn ein Assistent einen Vorfall bestätigt, nennen die Alarme des Teams Ihren Namen, wenn er angemeldet ist, oder den des Schlüssels, wenn er einen nutzt.
  • Per Anmeldung verbundene Assistenten stehen in Ihrem Konto und, für Owner und Admins, auf der Seite API-Schlüssel. Trennen Sie einen dort, hört er sofort auf. Ein neues Passwort trennt alle Ihre.
  • Kein Werkzeug löscht etwas. Kein Werkzeug erstellt einen Heartbeat oder einen Server, und ein Assistent sieht nie die geheime Adresse eines Heartbeats oder das Token eines Servers.
  • Für Beiträge auf einer Statusseite braucht es einen API-Schlüssel mit dieser Berechtigung: Angemeldete Assistenten können Statusseiten lesen, aber nicht darauf veröffentlichen.
  • Jede Nachricht an die Adresse zählt als eine Anfrage (siehe Limits). Assistenten mit einer älteren Version des Protokolls senden zum Start einige Nachrichten.
  • Was der Assistent liest, geht an das Unternehmen, das ihn betreibt. Verbinden Sie nur einen Assistenten, dem Sie vertrauen.

Fehler

Ein Fehler hat einen HTTP-Status von 400 oder höher und einen JSON-Inhalt wie diesen:

Antwort · 422
{
  "type": "about:blank",
  "title": "Unprocessable Entity",
  "status": 422,
  "code": "validation_failed",
  "detail": "Some fields are not valid.",
  "request_id": "52a4338c8432a4d5",
  "errors": [
    {
      "field": "url",
      "code": "url_not_allowed",
      "message": "This address cannot be monitored. Use a public web address, not localhost or a private network."
    }
  ]
}

Bauen Sie auf code: Er ändert sich nie. Die Sätze in detail und message sind für Menschen und kommen auf Englisch, Französisch, Spanisch oder Deutsch, je nach Accept-Language-Header.

Felder eines Fehlers

typestring
Always about:blank
titlestring
The name of the HTTP status
statusinteger
The HTTP status, repeated
codestring
What went wrong, as a word that never changes. Programs should look at this.
Eines von: invalid_requestvalidation_failedinvalid_credentialstoo_many_attemptsserver_busyadmin_sign_in_failedrate_limitedcaptcha_failedinvalid_tokenunauthenticatedforbiddenorigin_not_allowednot_foundmethod_not_allowedpayload_too_largeunsupported_media_typeinternal_errorinvalid_api_keyplan_limit_reachedinsufficient_scopereauth_requiredinvitation_other_accountbilling_unavailabletoo_many_orderssubscription_activecard_not_savedreward_unavailableinvalid_signatureinvalid_codetwo_factor_requiredconflicttelegram_unavailablepushover_unavailablenot_connectedplan_upgrade_requiredno_probes_onlinechecks_busytarget_busyalready_acknowledgedschedule_in_usetoo_many_postsuploads_busyupload_too_slowincident_overack_link_invalidack_not_allowedmonitor_suspendedchecks_unavailablesso_requiredsso_not_allowedsso_last_domaininvalid_clientinvalid_redirect_uriphone_unavailablephone_needs_planphone_credit_usedtoo_many_codesphone_verifiedphone_not_verifiedphone_refused
detailstring
The same, as a sentence for a person, in the language of the Accept-Language header
request_idstring
Names this request in our logs. Send it along when you write to support.
errorsListe von Objekt
Only when fields of the request are not valid. One entry per field.

Codes

StatusCodeBedeutung
400invalid_requestDie Anfrage ist nicht lesbar: Das JSON ist fehlerhaft, oder es enthält ein Feld, das es nicht gibt.
401invalid_api_keyEs wurde kein Schlüssel gesendet, oder der Schlüssel ist falsch oder wurde widerrufen.
403insufficient_scopeDer Schlüssel hat nicht die Berechtigung, die diese Route braucht.
403plan_limit_reachedDer Arbeitsbereich hat ein Limit seines Tarifs erreicht.
404not_foundDie Adresse oder die ID gibt es nicht, oder sie gehört zu einem anderen Arbeitsbereich.
408upload_too_slowDer Upload der Source Map stand 10 Sekunden still oder kam langsamer als 32 KB pro Sekunde. Senden Sie sie erneut.
409already_acknowledgedJemand hat diesen Vorfall schon bestätigt.
409incident_overDer Vorfall ist vorbei; es gibt nichts zu bestätigen.
413payload_too_largeDer Inhalt der Anfrage ist größer als 64 KB (20 MB für eine Source Map).
415unsupported_media_typeDer Inhalt wurde nicht als JSON gesendet. Senden Sie den Header Content-Type: application/json.
422validation_failedEin oder mehrere Felder sind nicht gültig. errors nennt jedes davon.
429rate_limitedZu viele Anfragen. Warten Sie so lange, wie der Retry-After-Header angibt.
429too_many_postsEin Programm hat innerhalb einer Stunde 10-mal auf einer Statusseite veröffentlicht (jeder Beitrag geht an die Abonnenten). Warten Sie so lange, wie der Header Retry-After angibt.
500internal_errorAuf unserer Seite ist etwas schiefgegangen. Versuchen Sie es erneut. Bleibt es dabei, schreiben Sie uns und senden Sie die request_id mit.
503uploads_busyAlle Uploads für Source Maps sind belegt. Warten Sie so lange, wie der Header Retry-After sagt, und senden Sie sie erneut (curl --retry macht das).

Referenz

Der verwendete Schlüssel

Which API key is this request using, and what may it do

GET/api/v1/api-key

For programs. Send the key as Authorization: Bearer mk_.... Each key has its own request limit, set by the workspace's plan.

Jeder Schlüssel kann diese Route verwenden.

Antwort

200The key in use · CurrentApiKey

Mögliche Fehler: 401429

Anfrage
curl https://app.uptimezy.com/api/v1/api-key \
  -H "Authorization: Bearer $API_KEY"
Antwort · 200
{
  "id": "key_0192f0c1a2b37c4d8e5f6a7b8c9d0a01",
  "name": "Status board",
  "prefix": "mk_Zq4tN8wL",
  "scopes": [
    "monitors:read",
    "reports:read"
  ],
  "organization_id": "org_0192f0c1a2b37c4d8e5f6a7b8c9d0001"
}

Referenz

Monitore

List the workspace's monitors

GET/api/v1/orgs/{org}/monitors

For a signed-in member of the workspace (any role), or for an API key of this workspace with the permission monitors:read.

Berechtigung: monitors:read

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.

Antwort

200The monitors, newest first, with what the plan allows · MonitorList

Mögliche Fehler: 401403404429

Anfrage
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/monitors \
  -H "Authorization: Bearer $API_KEY"
Antwort · 200
{
  "monitors": [
    {
      "id": "mon_0192f0c1a2b37c4d8e5f6a7b8c9d0e20",
      "name": "Checkout API",
      "type": "api",
      "url": "https://api.example.com/health",
      "host": null,
      "port": null,
      "keyword": null,
      "keyword_mode": null,
      "dns_record_type": null,
      "dns_expected": null,
      "method": "GET",
      "interval_seconds": 60,
      "timeout_seconds": 10,
      "expected_status": "200",
      "paused": false,
      "suspended": false,
      "status": "down",
      "last_checked_at": "2026-11-16T09:30:20Z",
      "last_response_ms": 10000,
      "last_status_code": null,
      "last_error": "timeout",
      "maintenance_until": null,
      "cert_expiry_days": 14,
      "domain_expiry_days": 30,
      "cert_expires_at": "2027-01-20T23:59:59Z",
      "domain": "example.com",
      "domain_expires_at": "2027-08-13T04:00:00Z",
      "domain_lookup": "ok",
      "domain_transfer_locked": true,
      "cert_issuer": "Let's Encrypt · R11",
      "cert_valid_from": "2026-10-22T00:00:00Z",
      "status_since": "2026-11-09T02:21:00Z",
      "sla_target": 99.9,
      "request_headers": [
        {
          "name": "Authorization"
        }
      ],
      "request_body": null,
      "body_type": null,
      "answer_checks": [
        {
          "source": "json",
          "path": "status",
          "op": "equals",
          "value": "ok"
        },
        {
          "source": "header",
          "path": "Content-Type",
          "op": "contains",
          "value": "json"
        }
      ],
      "max_response_ms": 2000,
      "last_failed_check": null,
      "db_engine": null,
      "db_name": null,
      "db_user": null,
      "db_tls": null,
      "db_query": null,
      "db_has_password": false,
      "udp_request": null,
      "udp_payload": null,
      "udp_format": null,
      "udp_expect": null,
      "created_at": "2026-11-05T08:12:40Z",
      "updated_at": "2026-11-05T08:12:40Z"
    },
    {
      "id": "mon_0192f0c1a2b37c4d8e5f6a7b8c9d0e1f",
      "name": "Main website",
      "type": "http",
      "url": "https://www.example.com/",
      "host": null,
      "port": null,
      "keyword": null,
      "keyword_mode": null,
      "dns_record_type": null,
      "dns_expected": null,
      "method": "GET",
      "interval_seconds": 60,
      "timeout_seconds": 10,
      "expected_status": "2xx",
      "paused": false,
      "suspended": false,
      "status": "up",
      "last_checked_at": "2026-11-16T09:30:00Z",
      "last_response_ms": 182,
      "last_status_code": 200,
      "last_error": null,
      "maintenance_until": null,
      "cert_expiry_days": 14,
      "domain_expiry_days": 30,
      "cert_expires_at": "2027-01-20T23:59:59Z",
      "domain": "example.com",
      "domain_expires_at": "2027-08-13T04:00:00Z",
      "domain_lookup": "ok",
      "domain_transfer_locked": true,
      "cert_issuer": "Let's Encrypt · R11",
      "cert_valid_from": "2026-10-22T00:00:00Z",
      "status_since": "2026-11-09T02:21:00Z",
      "sla_target": 99.9,
      "request_headers": [],
      "request_body": null,
      "body_type": null,
      "answer_checks": [],
      "max_response_ms": null,
      "last_failed_check": null,
      "db_engine": null,
      "db_name": null,
      "db_user": null,
      "db_tls": null,
      "db_query": null,
      "db_has_password": false,
      "udp_request": null,
      "udp_payload": null,
      "udp_format": null,
      "udp_expect": null,
      "created_at": "2026-11-02T14:05:11Z",
      "updated_at": "2026-11-02T14:05:11Z"
    },
    {
      "id": "mon_0192f0c1a2b37c4d8e5f6a7b8c9d0e22",
      "name": "Database",
      "type": "port",
      "url": "db.example.com:5432",
      "host": "db.example.com",
      "port": 5432,
      "keyword": null,
      "keyword_mode": null,
      "dns_record_type": null,
      "dns_expected": null,
      "method": "GET",
      "interval_seconds": 60,
      "timeout_seconds": 10,
      "expected_status": "2xx",
      "paused": false,
      "suspended": false,
      "status": "up",
      "last_checked_at": "2026-11-16T09:30:05Z",
      "last_response_ms": 21,
      "last_status_code": null,
      "last_error": null,
      "maintenance_until": null,
      "cert_expiry_days": 14,
      "domain_expiry_days": 30,
      "cert_expires_at": null,
      "domain": "example.com",
      "domain_expires_at": "2027-08-13T04:00:00Z",
      "domain_lookup": "ok",
      "domain_transfer_locked": true,
      "cert_issuer": null,
      "cert_valid_from": null,
      "status_since": "2026-11-09T02:21:00Z",
      "sla_target": 99.9,
      "request_headers": [],
      "request_body": null,
      "body_type": null,
      "answer_checks": [],
      "max_response_ms": null,
      "last_failed_check": null,
      "db_engine": null,
      "db_name": null,
      "db_user": null,
      "db_tls": null,
      "db_query": null,
      "db_has_password": false,
      "udp_request": null,
      "udp_payload": null,
      "udp_format": null,
      "udp_expect": null,
      "created_at": "2026-11-01T10:00:00Z",
      "updated_at": "2026-11-01T10:00:00Z"
    }
  ],
  "limit": 50,
  "min_interval_seconds": 60,
  "types": [
    "http",
    "keyword",
    "port",
    "ping",
    "dns"
  ],
  "check_addresses": [
    "203.0.113.10",
    "2001:db8::10"
  ]
}

Create a monitor

POST/api/v1/orgs/{org}/monitors

For a signed-in member, admin or owner, or for an API key with the permission monitors:create.

type says what is checked (default http):

- http: the web address in url answers with the expected status. - keyword: the same, and the page must contain keyword (keyword_mode present, the default) or must not contain it (absent). Upper and lower case do not matter. The page is read up to 1 MB. - port: a TCP connection to host and port can be opened. - ping: host answers a ping. Refused with the field error ping_unavailable on a server that cannot send pings (see types in the list of monitors). - dns: the domain name in host has a record of dns_record_type, and, when dns_expected is set, one with that value.

A web address must be a public http or https address, and a host a domain name or a public IP address. Localhost, private and reserved IP ranges, internal host names, passwords in the address and system ports of web addresses are refused (url_not_allowed, invalid_url, invalid_host). A field that does not belong to the type is refused (invalid_value). Refused with plan_limit_reached when the workspace already has as many monitors as its plan allows, and with the field error interval_too_short when the plan does not allow checks that often.

Berechtigung: monitors:create

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.

Inhalt der Anfrage

namestringerforderlich
1 to 100 characters
typestring
http (default), keyword, port, ping, dns, api, database or udp
urlstring
http, keyword and api: a public http or https address
hoststring
port, ping, dns, database and udp: a domain name or a public IP address (dns: a domain name)
portinteger
port and database: the TCP port; udp: the UDP port (default: the request's usual one); 1 to 65535
keywordstring
keyword: the text to look for, 1 to 200 characters
keyword_modestring
keyword: present (default) or absent
dns_record_typestring
dns: A, AAAA, CNAME, MX, NS or TXT
dns_expectedstring
dns: optional. The value one of the records must have: an IPv4 address for A, an IPv6 address for AAAA, a name for CNAME, MX and NS, a text for TXT
methodstring
http: GET (default) or HEAD. api: GET (default), HEAD, POST, PUT, PATCH, DELETE or OPTIONS.
cert_expiry_daysinteger
Warn this many days before the TLS certificate ends: 0 (off), 7, 14 (default) or 30
domain_expiry_daysinteger
Warn this many days before the domain's registration ends: 0 (off), 7, 14 or 30 (default)
sla_targetnumber
The availability goal in percent, such as 99.9 (50 to 100, at most three decimals). 0 removes it.
interval_secondsinteger
Default 300. From the plan's shortest interval up to 86400.
timeout_secondsinteger
Default 10. 1 to 30, and shorter than the interval.
expected_statusstring
Default 2xx. A class such as 2xx, or one code such as 200.
pausedboolean
Create it switched off. Default false.
request_headersListe von RequestHeader
api: up to 10 headers to send, such as an API token. Values are stored encrypted and never shown again.
request_bodystring
api: the body to send, up to 16 KB. Only with POST, PUT, PATCH and DELETE. An empty text removes it.
body_typestring
api: json (default, must be valid JSON), form, xml or text
answer_checksListe von AnswerCheck
api: up to 10 checks on the answer, run in order. The first that fails makes the check fail.
max_response_msinteger
http, keyword, api and database: the answer must come within this many milliseconds, shorter than timeout_seconds. 0 removes the limit.
db_enginestring
database: PostgreSQL, or MySQL (also MariaDB). Its usual port (5432, 3306) is taken when port is not sent.
Eines von: postgresmysql
db_namestring
database: the database to sign in to; empty for the server's default
db_userstring
database: the user who signs in. Give it read rights only: the query runs read-only anyway.
db_passwordstring
database: the user's password, stored encrypted and never shown again. Left out, the saved one stays, except when the engine, host, port, user or TLS mode changes (send_again); an empty text removes it.
db_tlsstring
database: verify (default) checks the server's certificate; no_verify accepts a self-signed one. Never unencrypted.
Eines von: verifyno_verify
db_querystring
database: the query (default SELECT 1), run read-only as one statement with the check's time limit on the server too
udp_requeststring
udp: the request to send. Up when an answer to it arrives in time.
Eines von: dnsntpsourcebedrockcustom
udp_payloadstring
udp, custom: the request, as text or hex digits (spaces allowed), at most 512 bytes
udp_formatstring
udp, custom: how udp_payload is written (default text)
Eines von: texthex
udp_expectstring
udp, custom: optional. A text the answer must contain

Antwort

201Created · Monitor

Mögliche Fehler: 400401403404415422429

Anfrage
curl -X POST https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/monitors \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Status text","type":"keyword","url":"https://www.example.com/status","keyword":"All systems operational"}'
Antwort · 201
{
  "id": "mon_0192f0c1a2b37c4d8e5f6a7b8c9d0e21",
  "name": "Status text",
  "type": "keyword",
  "url": "https://www.example.com/status",
  "host": null,
  "port": null,
  "keyword": "All systems operational",
  "keyword_mode": "present",
  "dns_record_type": null,
  "dns_expected": null,
  "method": "GET",
  "interval_seconds": 300,
  "timeout_seconds": 10,
  "expected_status": "2xx",
  "paused": false,
  "suspended": false,
  "status": "pending",
  "last_checked_at": null,
  "last_response_ms": null,
  "last_status_code": null,
  "last_error": null,
  "maintenance_until": null,
  "cert_expiry_days": 14,
  "domain_expiry_days": 30,
  "cert_expires_at": "2027-01-20T23:59:59Z",
  "domain": "example.com",
  "domain_expires_at": "2027-08-13T04:00:00Z",
  "domain_lookup": "ok",
  "domain_transfer_locked": true,
  "cert_issuer": "Let's Encrypt · R11",
  "cert_valid_from": "2026-10-22T00:00:00Z",
  "status_since": null,
  "sla_target": 99.9,
  "request_headers": [],
  "request_body": null,
  "body_type": null,
  "answer_checks": [],
  "max_response_ms": null,
  "last_failed_check": null,
  "db_engine": null,
  "db_name": null,
  "db_user": null,
  "db_tls": null,
  "db_query": null,
  "db_has_password": false,
  "udp_request": null,
  "udp_payload": null,
  "udp_format": null,
  "udp_expect": null,
  "created_at": "2026-11-16T09:31:02Z",
  "updated_at": "2026-11-16T09:31:02Z"
}

Read one monitor

GET/api/v1/orgs/{org}/monitors/{monitor}

Any role, or an API key with monitors:read.

Berechtigung: monitors:read

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.
monitorstring
The monitor's ID

Antwort

200The monitor · Monitor

Mögliche Fehler: 401403404429

Anfrage
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/monitors/mon_0192f0c1a2b37c4d8e5f6a7b8c9d0e1f \
  -H "Authorization: Bearer $API_KEY"
Antwort · 200
{
  "id": "mon_0192f0c1a2b37c4d8e5f6a7b8c9d0e1f",
  "name": "Main website",
  "type": "http",
  "url": "https://www.example.com/",
  "host": null,
  "port": null,
  "keyword": null,
  "keyword_mode": null,
  "dns_record_type": null,
  "dns_expected": null,
  "method": "GET",
  "interval_seconds": 60,
  "timeout_seconds": 10,
  "expected_status": "2xx",
  "paused": false,
  "suspended": false,
  "status": "up",
  "last_checked_at": "2026-11-16T09:30:00Z",
  "last_response_ms": 182,
  "last_status_code": 200,
  "last_error": null,
  "maintenance_until": null,
  "cert_expiry_days": 14,
  "domain_expiry_days": 30,
  "cert_expires_at": "2027-01-20T23:59:59Z",
  "domain": "example.com",
  "domain_expires_at": "2027-08-13T04:00:00Z",
  "domain_lookup": "ok",
  "domain_transfer_locked": true,
  "cert_issuer": "Let's Encrypt · R11",
  "cert_valid_from": "2026-10-22T00:00:00Z",
  "status_since": "2026-11-09T02:21:00Z",
  "sla_target": 99.9,
  "request_headers": [],
  "request_body": null,
  "body_type": null,
  "answer_checks": [],
  "max_response_ms": null,
  "last_failed_check": null,
  "db_engine": null,
  "db_name": null,
  "db_user": null,
  "db_tls": null,
  "db_query": null,
  "db_has_password": false,
  "udp_request": null,
  "udp_payload": null,
  "udp_format": null,
  "udp_expect": null,
  "created_at": "2026-11-02T14:05:11Z",
  "updated_at": "2026-11-02T14:05:11Z"
}

Change a monitor's settings

PATCH/api/v1/orgs/{org}/monitors/{monitor}

Send only the fields to change. Pause and resume with paused. A new type, address, host, keyword or DNS record starts the monitor again as pending. When the type changes, send the fields the new type needs; the ones of the old type are forgotten. Member, admin or owner, or an API key with monitors:update.

Berechtigung: monitors:update

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.
monitorstring
The monitor's ID

Inhalt der Anfrage

namestring
1 to 100 characters
typestring
http (default), keyword, port, ping, dns, api, database or udp
urlstring
http, keyword and api: a public http or https address
hoststring
port, ping, dns, database and udp: a domain name or a public IP address (dns: a domain name)
portinteger
port and database: the TCP port; udp: the UDP port (default: the request's usual one); 1 to 65535
keywordstring
keyword: the text to look for, 1 to 200 characters
keyword_modestring
keyword: present (default) or absent
dns_record_typestring
dns: A, AAAA, CNAME, MX, NS or TXT
dns_expectedstring
dns: optional. The value one of the records must have: an IPv4 address for A, an IPv6 address for AAAA, a name for CNAME, MX and NS, a text for TXT
methodstring
http: GET or HEAD. api: GET, HEAD, POST, PUT, PATCH, DELETE or OPTIONS.
cert_expiry_daysinteger
Warn this many days before the TLS certificate ends: 0 (off), 7, 14 (default) or 30
domain_expiry_daysinteger
Warn this many days before the domain's registration ends: 0 (off), 7, 14 or 30 (default)
sla_targetnumber
The availability goal in percent, such as 99.9 (50 to 100, at most three decimals). 0 removes it.
interval_secondsinteger
From the plan's shortest interval up to 86400
timeout_secondsinteger
1 to 30, and shorter than the interval
expected_statusstring
A class such as 2xx, or one code such as 200
pausedboolean
true pauses the monitor, false switches it back on
request_headersListe von RequestHeader
api: the new list of headers, which replaces the old one. A header without a value keeps the value saved under its name.
request_bodystring
api: the body to send, up to 16 KB. Only with POST, PUT, PATCH and DELETE. An empty text removes it.
body_typestring
api: json (default, must be valid JSON), form, xml or text
answer_checksListe von AnswerCheck
api: up to 10 checks on the answer, run in order. The first that fails makes the check fail.
max_response_msinteger
http, keyword, api and database: the answer must come within this many milliseconds, shorter than timeout_seconds. 0 removes the limit.
db_enginestring
database: PostgreSQL, or MySQL (also MariaDB). Its usual port (5432, 3306) is taken when port is not sent.
Eines von: postgresmysql
db_namestring
database: the database to sign in to; empty for the server's default
db_userstring
database: the user who signs in. Give it read rights only: the query runs read-only anyway.
db_passwordstring
database: the user's password, stored encrypted and never shown again. Left out, the saved one stays, except when the engine, host, port, user or TLS mode changes (send_again); an empty text removes it.
db_tlsstring
database: verify (default) checks the server's certificate; no_verify accepts a self-signed one. Never unencrypted.
Eines von: verifyno_verify
db_querystring
database: the query (default SELECT 1), run read-only as one statement with the check's time limit on the server too
udp_requeststring
udp: the request to send. Up when an answer to it arrives in time.
Eines von: dnsntpsourcebedrockcustom
udp_payloadstring
udp, custom: the request, as text or hex digits (spaces allowed), at most 512 bytes
udp_formatstring
udp, custom: how udp_payload is written (default text)
Eines von: texthex
udp_expectstring
udp, custom: optional. A text the answer must contain

Antwort

200The monitor after the change · Monitor

Mögliche Fehler: 400401403404415422429

Anfrage
curl -X PATCH https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/monitors/mon_0192f0c1a2b37c4d8e5f6a7b8c9d0e1f \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"paused":true}'
Antwort · 200
{
  "id": "mon_0192f0c1a2b37c4d8e5f6a7b8c9d0e1f",
  "name": "Main website",
  "type": "http",
  "url": "https://www.example.com/",
  "host": null,
  "port": null,
  "keyword": null,
  "keyword_mode": null,
  "dns_record_type": null,
  "dns_expected": null,
  "method": "GET",
  "interval_seconds": 60,
  "timeout_seconds": 10,
  "expected_status": "2xx",
  "paused": true,
  "suspended": false,
  "status": "pending",
  "last_checked_at": "2026-11-16T09:30:00Z",
  "last_response_ms": 182,
  "last_status_code": 200,
  "last_error": null,
  "maintenance_until": null,
  "cert_expiry_days": 14,
  "domain_expiry_days": 30,
  "cert_expires_at": "2027-01-20T23:59:59Z",
  "domain": "example.com",
  "domain_expires_at": "2027-08-13T04:00:00Z",
  "domain_lookup": "ok",
  "domain_transfer_locked": true,
  "cert_issuer": "Let's Encrypt · R11",
  "cert_valid_from": "2026-10-22T00:00:00Z",
  "status_since": null,
  "sla_target": 99.9,
  "request_headers": [],
  "request_body": null,
  "body_type": null,
  "answer_checks": [],
  "max_response_ms": null,
  "last_failed_check": null,
  "db_engine": null,
  "db_name": null,
  "db_user": null,
  "db_tls": null,
  "db_query": null,
  "db_has_password": false,
  "udp_request": null,
  "udp_payload": null,
  "udp_format": null,
  "udp_expect": null,
  "created_at": "2026-11-02T14:05:11Z",
  "updated_at": "2026-11-16T09:32:45Z"
}

Delete a monitor for good

DELETE/api/v1/orgs/{org}/monitors/{monitor}

Member, admin or owner, or an API key with monitors:delete.

Berechtigung: monitors:delete

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.
monitorstring
The monitor's ID

Antwort

204Deleted

Mögliche Fehler: 401403404429

Anfrage
curl -X DELETE https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/monitors/mon_0192f0c1a2b37c4d8e5f6a7b8c9d0e1f \
  -H "Authorization: Bearer $API_KEY"

Referenz

Berichte und Vorfälle

Uptime, recent checks and incidents of one monitor

GET/api/v1/orgs/{org}/monitors/{monitor}/report

Any role, or an API key with reports:read.

Berechtigung: reports:read

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.
monitorstring
The monitor's ID

Antwort

200The report · MonitorReport

Mögliche Fehler: 401403404429

Anfrage
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/monitors/mon_0192f0c1a2b37c4d8e5f6a7b8c9d0e1f/report \
  -H "Authorization: Bearer $API_KEY"
Antwort · 200
{
  "monitor": {
    "id": "mon_0192f0c1a2b37c4d8e5f6a7b8c9d0e1f",
    "name": "Main website",
    "type": "http",
    "url": "https://www.example.com/",
    "host": null,
    "port": null,
    "keyword": null,
    "keyword_mode": null,
    "dns_record_type": null,
    "dns_expected": null,
    "method": "GET",
    "interval_seconds": 60,
    "timeout_seconds": 10,
    "expected_status": "2xx",
    "paused": false,
    "suspended": false,
    "status": "up",
    "last_checked_at": "2026-11-16T09:30:00Z",
    "last_response_ms": 182,
    "last_status_code": 200,
    "last_error": null,
    "maintenance_until": null,
    "cert_expiry_days": 14,
    "domain_expiry_days": 30,
    "cert_expires_at": "2027-01-20T23:59:59Z",
    "domain": "example.com",
    "domain_expires_at": "2027-08-13T04:00:00Z",
    "domain_lookup": "ok",
    "domain_transfer_locked": true,
    "cert_issuer": "Let's Encrypt · R11",
    "cert_valid_from": "2026-10-22T00:00:00Z",
    "status_since": "2026-11-09T02:21:00Z",
    "sla_target": 99.9,
    "request_headers": [],
    "request_body": null,
    "body_type": null,
    "answer_checks": [],
    "max_response_ms": null,
    "last_failed_check": null,
    "db_engine": null,
    "db_name": null,
    "db_user": null,
    "db_tls": null,
    "db_query": null,
    "db_has_password": false,
    "udp_request": null,
    "udp_payload": null,
    "udp_format": null,
    "udp_expect": null,
    "created_at": "2026-11-02T14:05:11Z",
    "updated_at": "2026-11-02T14:05:11Z"
  },
  "uptime": {
    "day": {
      "checks": 1440,
      "passed": 1440,
      "percent": 100
    },
    "week": {
      "checks": 10080,
      "passed": 10073,
      "percent": 99.93
    },
    "month": {
      "checks": 20170,
      "passed": 20163,
      "percent": 99.97
    }
  },
  "average_response_ms": 187,
  "checks": [
    {
      "checked_at": "2026-11-16T09:30:00Z",
      "ok": true,
      "status_code": 200,
      "response_ms": 182,
      "error": null,
      "failed_check": null,
      "place": {
        "city": "Frankfurt",
        "country": "DE",
        "main": false
      }
    },
    {
      "checked_at": "2026-11-16T09:29:00Z",
      "ok": true,
      "status_code": 200,
      "response_ms": 191,
      "error": null,
      "failed_check": null,
      "place": {
        "city": "Toronto",
        "country": "CA",
        "main": true
      }
    }
  ],
  "places": [
    {
      "city": "Toronto",
      "country": "CA",
      "main": true,
      "checks": 720,
      "passed": 720,
      "average_response_ms": 174,
      "last_checked_at": "2026-11-16T09:29:00Z",
      "last_ok": true
    },
    {
      "city": "Frankfurt",
      "country": "DE",
      "main": false,
      "checks": 720,
      "passed": 720,
      "average_response_ms": 199,
      "last_checked_at": "2026-11-16T09:30:00Z",
      "last_ok": true
    }
  ],
  "incidents": [
    {
      "id": "inc_0192f0c1a2b37c4d8e5f6a7b8c9d0f00",
      "monitor_id": "mon_0192f0c1a2b37c4d8e5f6a7b8c9d0e1f",
      "monitor_name": "Main website",
      "monitor_url": "https://www.example.com/",
      "started_at": "2026-11-09T02:14:00Z",
      "resolved_at": "2026-11-09T02:21:00Z",
      "cause": "status",
      "status_code": 503,
      "failed_check": null,
      "places": [
        {
          "city": "Frankfurt",
          "country": "DE",
          "main": false,
          "ok": false,
          "reason": "status",
          "status_code": 503,
          "response_ms": 212,
          "failed_check": null
        },
        {
          "city": "Toronto",
          "country": "CA",
          "main": true,
          "ok": false,
          "reason": "status",
          "status_code": 503,
          "response_ms": 188,
          "failed_check": null
        },
        {
          "city": "Singapore",
          "country": "SG",
          "main": false,
          "ok": false,
          "reason": "status",
          "status_code": 503,
          "response_ms": 340,
          "failed_check": null
        }
      ],
      "acknowledged_at": "2026-11-09T02:16:00Z",
      "acknowledged_by": "Ada Lovelace",
      "acknowledged_by_key": false,
      "traced": true
    }
  ]
}

Availability, downtime and a calendar of days of one monitor

GET/api/v1/orgs/{org}/monitors/{monitor}/stats

Uptime here is measured in time: the share of a period that was not inside an incident. A failed check that other places did not confirm is not downtime. Periods end now; the range is whole days in UTC. Without from and to the range is the last 30 days. A range can reach 400 days back. Any role, or an API key with reports:read.

Berechtigung: reports:read

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.
monitorstring
The monitor's ID

Antwort

200The statistics · MonitorStats

Mögliche Fehler: 401403404422429

Anfrage
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/monitors/mon_0192f0c1a2b37c4d8e5f6a7b8c9d0e1f/stats \
  -H "Authorization: Bearer $API_KEY"
Antwort · 200
{
  "status": "up",
  "status_since": "2026-11-09T02:21:00Z",
  "sla_target": 99.9,
  "periods": {
    "day": {
      "percent": 100,
      "downtime_seconds": 0,
      "maintenance_seconds": 0,
      "incidents": 0,
      "mtbf_seconds": null,
      "mttr_seconds": null
    },
    "week": {
      "percent": 99.93,
      "downtime_seconds": 420,
      "maintenance_seconds": 0,
      "incidents": 1,
      "mtbf_seconds": 604380,
      "mttr_seconds": 420
    },
    "month": {
      "percent": 99.983,
      "downtime_seconds": 420,
      "maintenance_seconds": 3600,
      "incidents": 1,
      "mtbf_seconds": 1287180,
      "mttr_seconds": 420
    },
    "year": {
      "percent": 99.986,
      "downtime_seconds": 1260,
      "maintenance_seconds": 7200,
      "incidents": 3,
      "mtbf_seconds": 2627580,
      "mttr_seconds": 420
    }
  },
  "range": {
    "from": "2026-10-18",
    "to": "2026-11-16",
    "percent": 99.983,
    "downtime_seconds": 420,
    "maintenance_seconds": 3600,
    "incidents": 1,
    "mtbf_seconds": 1287180,
    "mttr_seconds": 420,
    "checks": 43200,
    "down_checks": 7,
    "sla_met": true
  },
  "days": [
    {
      "date": "2026-11-15",
      "percent": 100,
      "downtime_seconds": 0,
      "incidents": 0
    },
    {
      "date": "2026-11-16",
      "percent": 100,
      "downtime_seconds": 0,
      "incidents": 0
    }
  ],
  "recent": [
    {
      "at": "2026-11-16T09:25:00Z",
      "checks": 5,
      "failed": 0,
      "average_ms": 184,
      "min_ms": 171,
      "max_ms": 203,
      "error": null,
      "status_code": null,
      "phases": {
        "redirect_ms": 0,
        "connect_ms": 21,
        "tls_ms": 34,
        "wait_ms": 98,
        "download_ms": 29
      },
      "speed_mbps": 4.86
    },
    {
      "at": "2026-11-16T09:30:00Z",
      "checks": 5,
      "failed": 0,
      "average_ms": 179,
      "min_ms": 165,
      "max_ms": 196,
      "error": null,
      "status_code": null,
      "phases": {
        "redirect_ms": 0,
        "connect_ms": 21,
        "tls_ms": 34,
        "wait_ms": 98,
        "download_ms": 29
      },
      "speed_mbps": 4.86
    }
  ]
}

Response times of one monitor over a range

GET/api/v1/orgs/{org}/monitors/{monitor}/response

The checks of the range in slots (1 minute for 1h, 5 minutes for 6h, 15 minutes for 24h, 2 hours for 7d, 6 hours for 30d), oldest first, with the average, fastest, slowest and 95th percentile of the range, and the same for the range just before it. Any role, or an API key with reports:read.

Berechtigung: reports:read

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.
monitorstring
The monitor's ID

Antwort

200The response times · MonitorResponse

Mögliche Fehler: 401403404422429

Anfrage
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/monitors/mon_0192f0c1a2b37c4d8e5f6a7b8c9d0e1f/response \
  -H "Authorization: Bearer $API_KEY"
Antwort · 200
{
  "range": "24h",
  "step_seconds": 900,
  "slots": [
    {
      "at": "2026-11-16T09:00:00Z",
      "checks": 15,
      "failed": 0,
      "average_ms": 182,
      "min_ms": 160,
      "max_ms": 230,
      "error": null,
      "status_code": null,
      "phases": {
        "redirect_ms": 0,
        "connect_ms": 21,
        "tls_ms": 34,
        "wait_ms": 98,
        "download_ms": 29
      },
      "speed_mbps": 4.86
    },
    {
      "at": "2026-11-16T09:15:00Z",
      "checks": 15,
      "failed": 2,
      "average_ms": 190,
      "min_ms": 171,
      "max_ms": 260,
      "error": "status",
      "status_code": 503,
      "phases": {
        "redirect_ms": 0,
        "connect_ms": 21,
        "tls_ms": 34,
        "wait_ms": 98,
        "download_ms": 29
      },
      "speed_mbps": 4.86
    }
  ],
  "summary": {
    "checks": 1440,
    "failed": 2,
    "average_ms": 186,
    "min_ms": 140,
    "max_ms": 912,
    "p95_ms": 245,
    "phases": {
      "redirect_ms": 0,
      "connect_ms": 22,
      "tls_ms": 35,
      "wait_ms": 101,
      "download_ms": 28
    },
    "speed": {
      "average_mbps": 4.9,
      "peak_mbps": 12.4,
      "low_mbps": 0.8,
      "stability_percent": 61
    }
  },
  "previous": {
    "checks": 1440,
    "failed": 0,
    "average_ms": 175,
    "min_ms": 138,
    "max_ms": 640,
    "p95_ms": 231,
    "phases": {
      "redirect_ms": 0,
      "connect_ms": 22,
      "tls_ms": 35,
      "wait_ms": 101,
      "download_ms": 28
    },
    "speed": {
      "average_mbps": 4.9,
      "peak_mbps": 12.4,
      "low_mbps": 0.8,
      "stability_percent": 61
    }
  }
}

The workspace's incidents

GET/api/v1/orgs/{org}/incidents

Open incidents first, then the newest, at most 100. Any role, or an API key with reports:read.

Berechtigung: reports:read

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.

Antwort

200The incidents · IncidentList

Mögliche Fehler: 401403404429

Anfrage
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/incidents \
  -H "Authorization: Bearer $API_KEY"
Antwort · 200
{
  "incidents": [
    {
      "id": "inc_0192f0c1a2b37c4d8e5f6a7b8c9d0f01",
      "monitor_id": "mon_0192f0c1a2b37c4d8e5f6a7b8c9d0e20",
      "monitor_name": "Checkout API",
      "monitor_url": "https://api.example.com/health",
      "started_at": "2026-11-16T09:28:20Z",
      "resolved_at": null,
      "cause": "timeout",
      "status_code": null,
      "failed_check": null,
      "places": [
        {
          "city": "Toronto",
          "country": "CA",
          "main": true,
          "ok": false,
          "reason": "timeout",
          "status_code": null,
          "response_ms": 10000,
          "failed_check": null
        },
        {
          "city": "Frankfurt",
          "country": "DE",
          "main": false,
          "ok": false,
          "reason": "timeout",
          "status_code": null,
          "response_ms": 10000,
          "failed_check": null
        }
      ],
      "acknowledged_at": null,
      "acknowledged_by": "",
      "acknowledged_by_key": false,
      "traced": true
    },
    {
      "id": "inc_0192f0c1a2b37c4d8e5f6a7b8c9d0f00",
      "monitor_id": "mon_0192f0c1a2b37c4d8e5f6a7b8c9d0e1f",
      "monitor_name": "Main website",
      "monitor_url": "https://www.example.com/",
      "started_at": "2026-11-09T02:14:00Z",
      "resolved_at": "2026-11-09T02:21:00Z",
      "cause": "status",
      "status_code": 503,
      "failed_check": null,
      "places": [],
      "acknowledged_at": "2026-11-09T02:16:00Z",
      "acknowledged_by": "Ada Lovelace",
      "acknowledged_by_key": false,
      "traced": true
    }
  ]
}

Acknowledge an incident

POST/api/v1/orgs/{org}/incidents/{incident}/acknowledge

Says that someone is on an open incident of a monitor, a heartbeat or a server: its escalation stops, and whoever was told that it opened is told who. Member, admin or owner, or an API key with incidents:acknowledge.

A key is not a person, so the incident names the key: acknowledged_by is the key's name and acknowledged_by_key is true, in this answer, in the incident lists and in the webhook's incident.acknowledged message. Give the key a name your team will recognise, such as "Pager bridge". It works once, while the incident is open: otherwise the answer is 409 with already_acknowledged or incident_over.

Berechtigung: incidents:acknowledge

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.
incidentstring
The incident's ID, from the incident lists or an alert's webhook

Antwort

200Acknowledged · Acknowledged

Mögliche Fehler: 401403404409429

Anfrage
curl -X POST https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/incidents/inc_0192f0c1a2b37c4d8e5f6a7b8c9d0f01/acknowledge \
  -H "Authorization: Bearer $API_KEY"
Antwort · 200
{
  "acknowledged_at": "2026-11-16T09:31:05Z",
  "acknowledged_by": "Pager bridge",
  "acknowledged_by_key": true
}

Referenz

Heartbeats

List the workspace's heartbeats

GET/api/v1/orgs/{org}/heartbeats

A heartbeat watches a job that runs by itself, such as a backup. The job calls the heartbeat's secret address when it has finished; if the call does not come in time, or the job reports a failure, an incident opens. Any role, or an API key with heartbeats:read.

ping_url is empty here for API keys and viewers: a program gets a heartbeat's address once, in the answer that creates it or gives it a new one. last_output is empty in this list.

Berechtigung: heartbeats:read

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.

Antwort

200The heartbeats, oldest first, with how many the plan allows · Objekt

Mögliche Fehler: 401403404429

Anfrage
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/heartbeats \
  -H "Authorization: Bearer $API_KEY"
Antwort · 200
{
  "heartbeats": [
    {
      "id": "hbt_0192f0c1a2b37c4d8e5f6a7b8c9d0e31",
      "name": "Nightly backup",
      "period_seconds": 86400,
      "grace_seconds": 3600,
      "schedule": "0 3 * * *",
      "timezone": "America/Toronto",
      "paused": false,
      "status": "up",
      "ping_url": "",
      "due_at": "2026-11-17T09:00:00Z",
      "last_ping_at": "2026-11-16T08:04:12Z",
      "last_started_at": "2026-11-16T08:00:03Z",
      "last_failed_at": null,
      "last_output": "",
      "created_at": "2026-11-01T14:20:00Z",
      "updated_at": "2026-11-01T14:20:00Z"
    }
  ],
  "limit": 50
}

Create a heartbeat

POST/api/v1/orgs/{org}/heartbeats

Member, admin or owner, or an API key with heartbeats:create. The job reports every period_seconds, or on the cron schedule in timezone, and may be grace_seconds late. Nothing is expected until the job reports for the first time.

The answer holds ping_url, the secret address the job calls (GET, HEAD or POST; add /start when it starts and /fail when it fails). Store it now: reading the heartbeat with a key does not show it again. Refused with plan_limit_reached when the workspace has as many heartbeats as its plan allows.

Berechtigung: heartbeats:create

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.

Inhalt der Anfrage

namestringerforderlich
1 to 100 characters
period_secondsinteger
How often the job reports, in seconds: 60 to 31622400. Default one day. Not with schedule.
grace_secondsinteger
How long a report may be late, in seconds: 60 to 604800. Default one hour.
schedulestring
A cron schedule such as 0 3 * * *: a report is due by the next run after the last one
timezonestring
The schedule's IANA time zone, such as America/Toronto. Default UTC.

Antwort

201The heartbeat, with its secret address · Heartbeat

Mögliche Fehler: 400401403404415422429

Anfrage
curl -X POST https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/heartbeats \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Nightly backup","schedule":"0 3 * * *","timezone":"America/Toronto","grace_seconds":3600}'
Antwort · 201
{
  "id": "hbt_0192f0c1a2b37c4d8e5f6a7b8c9d0e31",
  "name": "Nightly backup",
  "period_seconds": 86400,
  "grace_seconds": 3600,
  "schedule": "0 3 * * *",
  "timezone": "America/Toronto",
  "paused": false,
  "status": "new",
  "ping_url": "https://app.uptimezy.com/api/v1/ping/7rJb2kQx9TzVw4LmNc8pYs1aHdEf3GuK",
  "due_at": null,
  "last_ping_at": null,
  "last_started_at": null,
  "last_failed_at": null,
  "last_output": "",
  "created_at": "2026-11-01T14:20:00Z",
  "updated_at": "2026-11-01T14:20:00Z"
}

Read one heartbeat with its incidents

GET/api/v1/orgs/{org}/heartbeats/{heartbeat}

Any role, or an API key with heartbeats:read. The incidents are the newest 20, the open one first. ping_url is empty for API keys and viewers.

Berechtigung: heartbeats:read

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.
heartbeatstring
The heartbeat's ID

Antwort

200The heartbeat · Objekt

Mögliche Fehler: 401403404429

Anfrage
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/heartbeats/hbt_0192f0c1a2b37c4d8e5f6a7b8c9d0e31 \
  -H "Authorization: Bearer $API_KEY"
Antwort · 200
{
  "heartbeat": {
    "id": "hbt_0192f0c1a2b37c4d8e5f6a7b8c9d0e31",
    "name": "Nightly backup",
    "period_seconds": 86400,
    "grace_seconds": 3600,
    "schedule": "0 3 * * *",
    "timezone": "America/Toronto",
    "paused": false,
    "status": "up",
    "ping_url": "",
    "due_at": "2026-11-17T09:00:00Z",
    "last_ping_at": "2026-11-16T08:04:12Z",
    "last_started_at": "2026-11-16T08:00:03Z",
    "last_failed_at": null,
    "last_output": "backup done: 1.2 GB in 4 min",
    "created_at": "2026-11-01T14:20:00Z",
    "updated_at": "2026-11-01T14:20:00Z"
  },
  "incidents": [
    {
      "id": "inc_0192f0c1a2b37c4d8e5f6a7b8c9d0f31",
      "heartbeat_id": "hbt_0192f0c1a2b37c4d8e5f6a7b8c9d0e31",
      "heartbeat_name": "Nightly backup",
      "started_at": "2026-11-14T09:00:00Z",
      "resolved_at": "2026-11-14T09:41:00Z",
      "cause": "late",
      "acknowledged_at": "2026-11-14T09:05:00Z",
      "acknowledged_by": "Ada Lovelace",
      "acknowledged_by_key": false
    }
  ]
}

Change a heartbeat's settings, pause or resume it

PATCH/api/v1/orgs/{org}/heartbeats/{heartbeat}

Member, admin or owner, or an API key with heartbeats:update. Send only what changes. paused: true stops the heartbeat and ends its open incident; paused: false starts it fresh, and nothing is expected until the next report. An empty schedule goes back to period_seconds.

Berechtigung: heartbeats:update

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.
heartbeatstring
The heartbeat's ID

Inhalt der Anfrage

namestring
1 to 100 characters
period_secondsinteger
How often the job reports, in seconds: 60 to 31622400. Default one day. Not with schedule.
grace_secondsinteger
How long a report may be late, in seconds: 60 to 604800. Default one hour.
schedulestring
A cron schedule such as 0 3 * * *: a report is due by the next run after the last one
timezonestring
The schedule's IANA time zone, such as America/Toronto. Default UTC.
pausedboolean
true pauses it (its open incident ends); false starts it again

Antwort

200The heartbeat after the change · Heartbeat

Mögliche Fehler: 400401403404415422429

Anfrage
curl -X PATCH https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/heartbeats/hbt_0192f0c1a2b37c4d8e5f6a7b8c9d0e31 \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"paused":true}'
Antwort · 200
{
  "id": "hbt_0192f0c1a2b37c4d8e5f6a7b8c9d0e31",
  "name": "Nightly backup",
  "period_seconds": 86400,
  "grace_seconds": 3600,
  "schedule": "0 3 * * *",
  "timezone": "America/Toronto",
  "paused": true,
  "status": "new",
  "ping_url": "",
  "due_at": null,
  "last_ping_at": "2026-11-16T08:04:12Z",
  "last_started_at": "2026-11-16T08:00:03Z",
  "last_failed_at": null,
  "last_output": "backup done: 1.2 GB in 4 min",
  "created_at": "2026-11-01T14:20:00Z",
  "updated_at": "2026-11-01T14:20:00Z"
}

Delete a heartbeat

DELETE/api/v1/orgs/{org}/heartbeats/{heartbeat}

Member, admin or owner, or an API key with heartbeats:delete. Its address stops working and its incidents are removed.

Berechtigung: heartbeats:delete

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.
heartbeatstring
The heartbeat's ID

Antwort

204Deleted

Mögliche Fehler: 401403404429

Anfrage
curl -X DELETE https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/heartbeats/hbt_0192f0c1a2b37c4d8e5f6a7b8c9d0e31 \
  -H "Authorization: Bearer $API_KEY"

Give a heartbeat a new secret address

POST/api/v1/orgs/{org}/heartbeats/{heartbeat}/new-address

Member, admin or owner, or an API key with heartbeats:update. The old address stops working at once; the answer holds the new one in ping_url. Use it when an address may have leaked.

Berechtigung: heartbeats:update

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.
heartbeatstring
The heartbeat's ID

Antwort

200The heartbeat with its new address · Heartbeat

Mögliche Fehler: 401403404429

Anfrage
curl -X POST https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/heartbeats/hbt_0192f0c1a2b37c4d8e5f6a7b8c9d0e31/new-address \
  -H "Authorization: Bearer $API_KEY"
Antwort · 200
{
  "id": "hbt_0192f0c1a2b37c4d8e5f6a7b8c9d0e31",
  "name": "Nightly backup",
  "period_seconds": 86400,
  "grace_seconds": 3600,
  "schedule": "0 3 * * *",
  "timezone": "America/Toronto",
  "paused": false,
  "status": "up",
  "ping_url": "https://app.uptimezy.com/api/v1/ping/Qm4sVb8nHc2xLp7dRk1tWy9eZa3fJg6U",
  "due_at": "2026-11-17T09:00:00Z",
  "last_ping_at": "2026-11-16T08:04:12Z",
  "last_started_at": "2026-11-16T08:00:03Z",
  "last_failed_at": null,
  "last_output": "backup done: 1.2 GB in 4 min",
  "created_at": "2026-11-01T14:20:00Z",
  "updated_at": "2026-11-01T14:20:00Z"
}

The incidents of the workspace's heartbeats

GET/api/v1/orgs/{org}/heartbeat-incidents

Open ones first, then the newest, at most 100. Any role, or an API key with heartbeats:read.

Berechtigung: heartbeats:read

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.

Antwort

200The incidents · Objekt

Mögliche Fehler: 401403404429

Anfrage
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/heartbeat-incidents \
  -H "Authorization: Bearer $API_KEY"
Antwort · 200
{
  "incidents": [
    {
      "id": "inc_0192f0c1a2b37c4d8e5f6a7b8c9d0f31",
      "heartbeat_id": "hbt_0192f0c1a2b37c4d8e5f6a7b8c9d0e31",
      "heartbeat_name": "Nightly backup",
      "started_at": "2026-11-14T09:00:00Z",
      "resolved_at": "2026-11-14T09:41:00Z",
      "cause": "late",
      "acknowledged_at": "2026-11-14T09:05:00Z",
      "acknowledged_by": "Ada Lovelace",
      "acknowledged_by_key": false
    }
  ]
}

Referenz

Server

List the workspace's servers

GET/api/v1/orgs/{org}/servers

Servers with the agent, a small program that reports a server's CPU, memory, disks and network once a minute. Any role, or an API key with servers:read. now is the newest minute. over_plan marks servers beyond the plan's limit (after a smaller plan): their reports are refused until servers are removed or the plan grows.

Berechtigung: servers:read

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.

Antwort

200The servers, oldest first, with how many the plan allows · Objekt

Mögliche Fehler: 401403404429

Anfrage
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/servers \
  -H "Authorization: Bearer $API_KEY"
Antwort · 200
{
  "servers": [
    {
      "id": "srv_0192f0c1a2b37c4d8e5f6a7b8c9d0e41",
      "name": "web-1",
      "tags": [
        "production",
        "web"
      ],
      "state": "online",
      "over_plan": false,
      "hostname": "web-1.example.com",
      "os": "Ubuntu 24.04.1 LTS",
      "kernel": "6.8.0-49-generic",
      "arch": "amd64",
      "cpu_cores": 4,
      "memory_bytes": 8346619904,
      "boot_at": "2026-11-02T06:11:40Z",
      "agent_version": "1.3.0",
      "last_report_at": "2026-11-16T09:30:00Z",
      "token_prefix": "agent_x7Qa",
      "created_at": "2026-11-02T06:30:00Z",
      "open_alerts": 0,
      "now": {
        "at": "2026-11-16T09:30:00Z",
        "cpu_percent": 12.5,
        "memory_percent": 41.2,
        "disk_percent": 63.08,
        "load1": 0.42
      }
    }
  ],
  "limit": 10
}

Add a server

POST/api/v1/orgs/{org}/servers

Member, admin or owner, or an API key with servers:create. The answer holds the server's token and install, the command that sets the agent up on the server (Linux, as root). The token is shown this one time and only as a hash on our side. Refused with plan_limit_reached when the workspace has as many servers as its plan allows.

Berechtigung: servers:create

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.

Inhalt der Anfrage

namestringerforderlich
1 to 100 characters

Antwort

201The server, its token and the install command · ServerWithToken

Mögliche Fehler: 400401403404415422429

Anfrage
curl -X POST https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/servers \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"web-1"}'
Antwort · 201
{
  "server": {
    "id": "srv_0192f0c1a2b37c4d8e5f6a7b8c9d0e41",
    "name": "web-1",
    "tags": [],
    "state": "new",
    "over_plan": false,
    "hostname": "",
    "os": "",
    "kernel": "",
    "arch": "",
    "cpu_cores": null,
    "memory_bytes": null,
    "boot_at": null,
    "agent_version": "",
    "last_report_at": null,
    "token_prefix": "agent_x7Qa",
    "created_at": "2026-11-02T06:30:00Z",
    "open_alerts": 0,
    "now": null
  },
  "token": "agent_x7Qa9mBv2LcN8pRt4WdZ1fHs6KjY3uE5gT0oXiAqC7b",
  "install": "curl -fsSL https://app.uptimezy.com/api/v1/agent/install.sh | sudo sh -s -- --token agent_x7Qa9mBv2LcN8pRt4WdZ1fHs6KjY3uE5gT0oXiAqC7b"
}

Read one server with its disks, busiest processes and alerts

GET/api/v1/orgs/{org}/servers/{server}

Any role, or an API key with servers:read. Disks and processes come from the newest report; processes are known by name only.

Berechtigung: servers:read

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.
serverstring
The server's ID

Antwort

200The server · ServerDetail

Mögliche Fehler: 401403404429

Anfrage
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/servers/srv_0192f0c1a2b37c4d8e5f6a7b8c9d0e41 \
  -H "Authorization: Bearer $API_KEY"
Antwort · 200
{
  "server": {
    "id": "srv_0192f0c1a2b37c4d8e5f6a7b8c9d0e41",
    "name": "web-1",
    "tags": [
      "production",
      "web"
    ],
    "state": "online",
    "over_plan": false,
    "hostname": "web-1.example.com",
    "os": "Ubuntu 24.04.1 LTS",
    "kernel": "6.8.0-49-generic",
    "arch": "amd64",
    "cpu_cores": 4,
    "memory_bytes": 8346619904,
    "boot_at": "2026-11-02T06:11:40Z",
    "agent_version": "1.3.0",
    "last_report_at": "2026-11-16T09:30:00Z",
    "token_prefix": "agent_x7Qa",
    "created_at": "2026-11-02T06:30:00Z",
    "open_alerts": 0,
    "now": null
  },
  "latest": {
    "at": "2026-11-16T09:30:00Z",
    "cpu_percent": 12.5,
    "load": [
      0.42,
      0.38,
      0.35
    ],
    "memory_used": 3438776320,
    "memory_total": 8346619904,
    "swap_used": 0,
    "swap_total": 2147479552,
    "disk_used": 33285996544,
    "disk_total": 52776558592,
    "disk_percent": 63.08,
    "net_rx_bytes_per_second": 48210,
    "net_tx_bytes_per_second": 120544,
    "processes": 182
  },
  "disks": [
    {
      "mount": "/",
      "fs": "ext4",
      "used": 33285996544,
      "total": 52776558592
    }
  ],
  "processes": [
    {
      "name": "postgres",
      "cpu_percent": 8.4,
      "memory_bytes": 1203765248
    },
    {
      "name": "nginx",
      "cpu_percent": 2.1,
      "memory_bytes": 52428800
    }
  ],
  "uninstall": "curl -fsSL https://app.uptimezy.com/api/v1/agent/install.sh | sudo sh -s -- --uninstall",
  "incidents": [
    {
      "id": "inc_0192f0c1a2b37c4d8e5f6a7b8c9d0f41",
      "server_id": "srv_0192f0c1a2b37c4d8e5f6a7b8c9d0e41",
      "server_name": "web-1",
      "started_at": "2026-11-15T22:10:00Z",
      "resolved_at": "2026-11-15T22:31:00Z",
      "cause": "cpu",
      "alert": {
        "metric": "cpu",
        "threshold": 90,
        "minutes": 5,
        "value": 97.4,
        "ping_answered": null,
        "address": ""
      },
      "acknowledged_at": null,
      "acknowledged_by": "",
      "acknowledged_by_key": false
    }
  ]
}

Change a server's name or tags

PATCH/api/v1/orgs/{org}/servers/{server}

Member, admin or owner, or an API key with servers:update. Send only what changes. Tags: at most 10; each is turned into lowercase with dashes ("Web servers" becomes "web-servers").

Berechtigung: servers:update

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.
serverstring
The server's ID

Inhalt der Anfrage

namestring
1 to 100 characters
tagsListe von string
All the server's tags: at most 10. An empty list removes them.

Antwort

200The server after the change · Server

Mögliche Fehler: 400401403404415422429

Anfrage
curl -X PATCH https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/servers/srv_0192f0c1a2b37c4d8e5f6a7b8c9d0e41 \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tags":["production","web"]}'
Antwort · 200
{
  "id": "srv_0192f0c1a2b37c4d8e5f6a7b8c9d0e41",
  "name": "web-1",
  "tags": [
    "production",
    "web"
  ],
  "state": "online",
  "over_plan": false,
  "hostname": "web-1.example.com",
  "os": "Ubuntu 24.04.1 LTS",
  "kernel": "6.8.0-49-generic",
  "arch": "amd64",
  "cpu_cores": 4,
  "memory_bytes": 8346619904,
  "boot_at": "2026-11-02T06:11:40Z",
  "agent_version": "1.3.0",
  "last_report_at": "2026-11-16T09:30:00Z",
  "token_prefix": "agent_x7Qa",
  "created_at": "2026-11-02T06:30:00Z",
  "open_alerts": 0,
  "now": null
}

Remove a server

DELETE/api/v1/orgs/{org}/servers/{server}

Member, admin or owner, or an API key with servers:delete. Its token stops working and its metrics are deleted.

Berechtigung: servers:delete

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.
serverstring
The server's ID

Antwort

204Deleted

Mögliche Fehler: 401403404429

Anfrage
curl -X DELETE https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/servers/srv_0192f0c1a2b37c4d8e5f6a7b8c9d0e41 \
  -H "Authorization: Bearer $API_KEY"

Give a server a new token

POST/api/v1/orgs/{org}/servers/{server}/token

Member, admin or owner, or an API key with servers:update. The old token stops working at once; the new one is shown this one time. Run the install command again on the server.

Berechtigung: servers:update

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.
serverstring
The server's ID

Antwort

200The server, its new token and the install command · ServerWithToken

Mögliche Fehler: 401403404429

Anfrage
curl -X POST https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/servers/srv_0192f0c1a2b37c4d8e5f6a7b8c9d0e41/token \
  -H "Authorization: Bearer $API_KEY"
Antwort · 200
{
  "server": {
    "id": "srv_0192f0c1a2b37c4d8e5f6a7b8c9d0e41",
    "name": "web-1",
    "tags": [
      "production",
      "web"
    ],
    "state": "online",
    "over_plan": false,
    "hostname": "web-1.example.com",
    "os": "Ubuntu 24.04.1 LTS",
    "kernel": "6.8.0-49-generic",
    "arch": "amd64",
    "cpu_cores": 4,
    "memory_bytes": 8346619904,
    "boot_at": "2026-11-02T06:11:40Z",
    "agent_version": "1.3.0",
    "last_report_at": "2026-11-16T09:30:00Z",
    "token_prefix": "agent_Lm3q",
    "created_at": "2026-11-02T06:30:00Z",
    "open_alerts": 0,
    "now": null
  },
  "token": "agent_Lm3qT8wXc1Vb6NzR9kPd2HsJ5fYa0eGu4QoIi7Wt3Ex",
  "install": "curl -fsSL https://app.uptimezy.com/api/v1/agent/install.sh | sudo sh -s -- --token agent_Lm3qT8wXc1Vb6NzR9kPd2HsJ5fYa0eGu4QoIi7Wt3Ex"
}

A server's metrics over a range

GET/api/v1/orgs/{org}/servers/{server}/metrics

Any role, or an API key with servers:read. The minutes are averaged in slots: 1 minute for 1h, 5 for 6h, 15 for 24h, 2 hours for 7d, 6 hours for 30d. Slots without reports are left out. Metrics are kept 30 days.

Berechtigung: servers:read

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.
serverstring
The server's ID

Antwort

200The slots, oldest first · Objekt

Mögliche Fehler: 401403404422429

Anfrage
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/servers/srv_0192f0c1a2b37c4d8e5f6a7b8c9d0e41/metrics \
  -H "Authorization: Bearer $API_KEY"
Antwort · 200
{
  "range": "24h",
  "step_seconds": 900,
  "slots": [
    {
      "at": "2026-11-16T09:00:00Z",
      "cpu_percent": 11.8,
      "cpu_max_percent": 24.1,
      "memory_percent": 41,
      "swap_percent": 0,
      "disk_percent": 63.07,
      "load1": 0.39,
      "net_rx_bytes_per_second": 47100,
      "net_tx_bytes_per_second": 118200,
      "processes": 181
    },
    {
      "at": "2026-11-16T09:15:00Z",
      "cpu_percent": 12.5,
      "cpu_max_percent": 31.6,
      "memory_percent": 41.2,
      "swap_percent": 0,
      "disk_percent": 63.08,
      "load1": 0.42,
      "net_rx_bytes_per_second": 48210,
      "net_tx_bytes_per_second": 120544,
      "processes": 182
    }
  ]
}

The alerts of the workspace's servers

GET/api/v1/orgs/{org}/server-incidents

Open ones first, then the newest, at most 100. Any role, or an API key with servers:read.

Berechtigung: servers:read

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.

Antwort

200The alerts · Objekt

Mögliche Fehler: 401403404429

Anfrage
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/server-incidents \
  -H "Authorization: Bearer $API_KEY"
Antwort · 200
{
  "incidents": [
    {
      "id": "inc_0192f0c1a2b37c4d8e5f6a7b8c9d0f41",
      "server_id": "srv_0192f0c1a2b37c4d8e5f6a7b8c9d0e41",
      "server_name": "web-1",
      "started_at": "2026-11-15T22:10:00Z",
      "resolved_at": "2026-11-15T22:31:00Z",
      "cause": "cpu",
      "alert": {
        "metric": "cpu",
        "threshold": 90,
        "minutes": 5,
        "value": 97.4,
        "ping_answered": null,
        "address": ""
      },
      "acknowledged_at": null,
      "acknowledged_by": "",
      "acknowledged_by_key": false
    }
  ]
}

Referenz

Statusseiten

List the workspace's status pages

GET/api/v1/orgs/{org}/status-pages

Any role, or an API key with status_pages:read. services is how many monitors each page shows.

Berechtigung: status_pages:read

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.

Antwort

200The pages, oldest first, with how many the plan allows · StatusPageList

Mögliche Fehler: 401403404429

Anfrage
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/status-pages \
  -H "Authorization: Bearer $API_KEY"
Antwort · 200
{
  "base_url": "https://status.uptimezy.com",
  "status_pages": [
    {
      "id": "stp_0192f0c1a2b37c4d8e5f6a7b8c9d0e51",
      "name": "Acme status",
      "slug": "acme",
      "url": "https://status.uptimezy.com/acme",
      "published": true,
      "services": 2,
      "created_at": "2026-11-02T10:00:00Z"
    }
  ],
  "limit": 10
}

Read one status page with the monitors it shows

GET/api/v1/orgs/{org}/status-pages/{page}

Any role, or an API key with status_pages:read. Changing a page's settings stays in the dashboard.

Berechtigung: status_pages:read

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.
pagestring
The status page's ID

Antwort

200The page · StatusPage

Mögliche Fehler: 401403404429

Anfrage
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/status-pages/stp_0192f0c1a2b37c4d8e5f6a7b8c9d0e51 \
  -H "Authorization: Bearer $API_KEY"
Antwort · 200
{
  "id": "stp_0192f0c1a2b37c4d8e5f6a7b8c9d0e51",
  "name": "Acme status",
  "slug": "acme",
  "url": "https://status.uptimezy.com/acme",
  "published": true,
  "hide_from_search": false,
  "services": [
    {
      "monitor_id": "mon_0192f0c1a2b37c4d8e5f6a7b8c9d0e1f",
      "name": "Website",
      "monitor_name": "Main website"
    },
    {
      "monitor_id": "mon_0192f0c1a2b37c4d8e5f6a7b8c9d0e20",
      "name": "",
      "monitor_name": "Checkout API"
    }
  ],
  "created_at": "2026-11-02T10:00:00Z",
  "updated_at": "2026-11-10T16:20:00Z",
  "custom_domain": "status.example.com",
  "domain_status": "connected",
  "domain_error": null,
  "domain_checked_at": "2026-11-16T06:00:00Z",
  "dns_target": "status.uptimezy.com",
  "logo_hash": null,
  "accent_color": "#2a62f5",
  "hide_branding": false,
  "theme": "auto",
  "branding_allowed": true,
  "white_label_allowed": false
}

The incidents a status page's owner wrote about

GET/api/v1/orgs/{org}/status-pages/{page}/incidents

Open ones first, then the newest, at most 50, each with its updates (newest first). These are written by people or programs; the incidents found by the checks are under /api/v1/orgs/{org}/incidents. Any role, or an API key with status_pages:read.

Berechtigung: status_pages:read

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.
pagestring
The status page's ID

Antwort

200The incidents · Objekt

Mögliche Fehler: 401403404429

Anfrage
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/status-pages/stp_0192f0c1a2b37c4d8e5f6a7b8c9d0e51/incidents \
  -H "Authorization: Bearer $API_KEY"
Antwort · 200
{
  "incidents": [
    {
      "id": "sti_0192f0c1a2b37c4d8e5f6a7b8c9d0e52",
      "title": "Slow checkout",
      "state": "identified",
      "resolved_at": null,
      "created_at": "2026-11-16T09:31:00Z",
      "updates": [
        {
          "state": "identified",
          "body": "The payment provider answers slowly. We switched to the backup provider.",
          "created_at": "2026-11-16T09:48:00Z"
        },
        {
          "state": "investigating",
          "body": "Some payments take more than a minute. We are looking into it.",
          "created_at": "2026-11-16T09:31:00Z"
        }
      ]
    }
  ]
}

Tell the visitors of a status page about an incident

POST/api/v1/orgs/{org}/status-pages/{page}/incidents

Owner or admin, or an API key with status_pages:post. Opens an incident with its first message. A page can have 20 open incidents (too_many_incidents).

Each post emails the page's confirmed subscribers when the page is published, and shows on the public page at once: write it for your customers. Programs may post 10 times per page and hour (incidents, updates and maintenance together); over that the answer is 429 too_many_posts with Retry-After (seconds until the hour is over). People in the dashboard are not limited. Deleting stays in the dashboard.

Berechtigung: status_pages:post

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.
pagestring
The status page's ID

Inhalt der Anfrage

titlestringerforderlich
1 to 200 characters
statestringerforderlich
Where the work stands: investigating, identified, monitoring or resolved
bodystringerforderlich
The message: plain text, 1 to 2000 characters. Line breaks are kept.

Antwort

201The incident · StatusIncident

Mögliche Fehler: 400401403404415422429

Anfrage
curl -X POST https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/status-pages/stp_0192f0c1a2b37c4d8e5f6a7b8c9d0e51/incidents \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title":"Slow checkout","state":"investigating","body":"Some payments take more than a minute. We are looking into it."}'
Antwort · 201
{
  "id": "sti_0192f0c1a2b37c4d8e5f6a7b8c9d0e52",
  "title": "Slow checkout",
  "state": "investigating",
  "resolved_at": null,
  "created_at": "2026-11-16T09:31:00Z",
  "updates": [
    {
      "state": "investigating",
      "body": "Some payments take more than a minute. We are looking into it.",
      "created_at": "2026-11-16T09:31:00Z"
    }
  ]
}

Post a further message about an incident

POST/api/v1/orgs/{org}/status-pages/{page}/incidents/{incident}/updates

Owner or admin, or an API key with status_pages:post. The incident takes the state of the message: resolved closes it, and any other state after that opens it again. An incident can have 50 updates (too_many_updates).

Each post emails the page's confirmed subscribers when the page is published, and shows on the public page at once: write it for your customers. Programs may post 10 times per page and hour (incidents, updates and maintenance together); over that the answer is 429 too_many_posts with Retry-After (seconds until the hour is over). People in the dashboard are not limited. Deleting stays in the dashboard.

Berechtigung: status_pages:post

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.
pagestring
The status page's ID
incidentstring
The status page incident's ID (sti_…), from the page's incident list

Inhalt der Anfrage

statestringerforderlich
The incident's state from now on: investigating, identified, monitoring or resolved (closes it)
bodystringerforderlich
The message: plain text, 1 to 2000 characters

Antwort

201The incident with all its updates · StatusIncident

Mögliche Fehler: 400401403404415422429

Anfrage
curl -X POST https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/status-pages/stp_0192f0c1a2b37c4d8e5f6a7b8c9d0e51/incidents/sti_0192f0c1a2b37c4d8e5f6a7b8c9d0e52/updates \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"state":"identified","body":"The payment provider answers slowly. We switched to the backup provider."}'
Antwort · 201
{
  "id": "sti_0192f0c1a2b37c4d8e5f6a7b8c9d0e52",
  "title": "Slow checkout",
  "state": "identified",
  "resolved_at": null,
  "created_at": "2026-11-16T09:31:00Z",
  "updates": [
    {
      "state": "identified",
      "body": "The payment provider answers slowly. We switched to the backup provider.",
      "created_at": "2026-11-16T09:48:00Z"
    },
    {
      "state": "investigating",
      "body": "Some payments take more than a minute. We are looking into it.",
      "created_at": "2026-11-16T09:31:00Z"
    }
  ]
}

The planned maintenance of a status page

GET/api/v1/orgs/{org}/status-pages/{page}/maintenance

What is still to come first, soonest first, then what is over, newest first. At most 50. Any role, or an API key with status_pages:read.

Berechtigung: status_pages:read

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.
pagestring
The status page's ID

Antwort

200The planned maintenance · Objekt

Mögliche Fehler: 401403404429

Anfrage
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/status-pages/stp_0192f0c1a2b37c4d8e5f6a7b8c9d0e51/maintenance \
  -H "Authorization: Bearer $API_KEY"
Antwort · 200
{
  "maintenance": [
    {
      "id": "stm_0192f0c1a2b37c4d8e5f6a7b8c9d0e53",
      "title": "Database upgrade",
      "body": "The dashboard may be slow for a few minutes.",
      "starts_at": "2026-12-06T02:00:00Z",
      "ends_at": "2026-12-06T03:00:00Z",
      "state": "scheduled",
      "mute": false
    }
  ]
}

Announce planned maintenance on a status page

POST/api/v1/orgs/{org}/status-pages/{page}/maintenance

Owner or admin, or an API key with status_pages:post. The end must be after the start (end_before_start) and not in the past (in_the_past). The work can last 30 days (window_too_long) and start within a year (too_far_ahead). A page can have 20 entries that are not over yet (too_many_maintenances).

Without mute this is an announcement only: monitors are checked, and alerts are sent, during the work too. With mute: true, the monitors that the page shows open no incident and send no alert while the work runs. Muting alerts is a person's decision: an API key that sends mute: true gets the field error people_only.

Each post emails the page's confirmed subscribers when the page is published, and shows on the public page at once: write it for your customers. Programs may post 10 times per page and hour (incidents, updates and maintenance together); over that the answer is 429 too_many_posts with Retry-After (seconds until the hour is over). People in the dashboard are not limited. Deleting stays in the dashboard.

Berechtigung: status_pages:post

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.
pagestring
The status page's ID

Inhalt der Anfrage

titlestringerforderlich
1 to 200 characters
bodystring
Plain text, at most 2000 characters. Line breaks are kept. May be empty.
starts_atDatum und Uhrzeiterforderlich
When the work starts: within a year
ends_atDatum und Uhrzeiterforderlich
When it ends: after the start, at most 30 days later
muteboolean
Mute the page's monitors while the work runs. Only people in the dashboard can set it (people_only for programs).

Antwort

201The planned maintenance · StatusMaintenance

Mögliche Fehler: 400401403404415422429

Anfrage
curl -X POST https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/status-pages/stp_0192f0c1a2b37c4d8e5f6a7b8c9d0e51/maintenance \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title":"Database upgrade","body":"The dashboard may be slow for a few minutes.","starts_at":"2026-12-06T02:00:00Z","ends_at":"2026-12-06T03:00:00Z"}'
Antwort · 201
{
  "id": "stm_0192f0c1a2b37c4d8e5f6a7b8c9d0e53",
  "title": "Database upgrade",
  "body": "The dashboard may be slow for a few minutes.",
  "starts_at": "2026-12-06T02:00:00Z",
  "ends_at": "2026-12-06T03:00:00Z",
  "state": "scheduled",
  "mute": false
}

Change planned maintenance

PATCH/api/v1/orgs/{org}/status-pages/{page}/maintenance/{maintenance}

Owner or admin, or an API key with status_pages:post. Send only what changes. Moving the end into the past is allowed: that marks work that finished early as done. A key cannot change maintenance that mutes alerts, nor make it mute (people_only). A change sends no email.

Berechtigung: status_pages:post

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.
pagestring
The status page's ID
maintenancestring
The planned maintenance's ID

Inhalt der Anfrage

titlestring
1 to 200 characters
bodystring
Plain text, at most 2000 characters. Line breaks are kept. May be empty.
starts_atDatum und Uhrzeit
When the work starts: within a year
ends_atDatum und Uhrzeit
When it ends: after the start, at most 30 days later
muteboolean
Mute the page's monitors while the work runs. Only people in the dashboard can set it (people_only for programs).

Antwort

200The planned maintenance after the change · StatusMaintenance

Mögliche Fehler: 400401403404415422429

Anfrage
curl -X PATCH https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/status-pages/stp_0192f0c1a2b37c4d8e5f6a7b8c9d0e51/maintenance/stm_0192f0c1a2b37c4d8e5f6a7b8c9d0e53 \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ends_at":"2026-12-06T02:40:00Z"}'
Antwort · 200
{
  "id": "stm_0192f0c1a2b37c4d8e5f6a7b8c9d0e53",
  "title": "Database upgrade",
  "body": "The dashboard may be slow for a few minutes.",
  "starts_at": "2026-12-06T02:00:00Z",
  "ends_at": "2026-12-06T02:40:00Z",
  "state": "scheduled",
  "mute": false
}

The planned maintenance of all the workspace's status pages

GET/api/v1/orgs/{org}/maintenance

One list across the pages: what is still to come first, soonest first, then what is over, newest first. At most 100. Any role, or an API key with status_pages:read.

Berechtigung: status_pages:read

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.

Antwort

200The planned maintenance · Objekt

Mögliche Fehler: 401403404429

Anfrage
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/maintenance \
  -H "Authorization: Bearer $API_KEY"
Antwort · 200
{
  "maintenance": [
    {
      "id": "stm_0192f0c1a2b37c4d8e5f6a7b8c9d0e53",
      "title": "Database upgrade",
      "body": "The dashboard may be slow for a few minutes.",
      "starts_at": "2026-12-06T02:00:00Z",
      "ends_at": "2026-12-06T03:00:00Z",
      "state": "scheduled",
      "mute": false,
      "status_page_id": "stp_0192f0c1a2b37c4d8e5f6a7b8c9d0e51",
      "status_page_name": "Acme status",
      "services": 2
    }
  ]
}

Referenz

Fehler-Tracking

Upload a source map

POST/api/v1/orgs/{org}/error-sites/{site}/source-maps

Members, admins and owners, or an API key with source_maps:upload. Send one form (multipart/form-data) for each minified script, from your build: minified_url and release first, the file (source_map) last. An error's stack is then shown in your own files, lines and code. A map is found by the site, the release the site's pages name (data-release; leave release out if they name none) and the script's path, exactly; uploading the same again replaces the map. When the workspace's maps would pass the plan's room, the oldest are removed first (removed counts them). A map is at most 20 MB and is kept 90 days. A body that stops for 10 seconds, or comes slower than 32 KB a second, is cut (upload_too_slow). No route gives a map back.

Berechtigung: source_maps:upload

In der Adresse

orgstring
The workspace's ID. GET /api/v1/api-key tells a key which workspace it belongs to.
sitestring
The error tracking site's ID (the dashboard's Errors page shows it with the upload command)

Formularfelder (multipart/form-data)

minified_urlstringerforderlich
The minified script's address as the browser loads it, or its path (/assets/index-4f2a9c.js). Only the path counts; a query is ignored
releasestring
The release in the site's data-release (letters, digits, ., _, +, -); leave it out if the pages name none
source_mapfileerforderlich
The map file (version 3, without sections), at most 20 MB. Send it last

Antwort

201The map, kept · Objekt

Mögliche Fehler: 400401403404408413415422429503

Anfrage
curl -X POST https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/error-sites/ers_0192f0c1a2b37c4d8e5f6a7b8c9d0e61/source-maps \
  -H "Authorization: Bearer $API_KEY" \
  -F "minified_url=https://shop.example.com/assets/index-4f2a9c.js" \
  -F "release=1.4.2" \
  -F "source_map=@dist/assets/index-4f2a9c.js.map"
Antwort · 201
{
  "source_map": {
    "id": "smp_0192f0c1a2b37c4d8e5f6a7b8c9d0e71",
    "site_id": "ers_0192f0c1a2b37c4d8e5f6a7b8c9d0e61",
    "release": "1.4.2",
    "path": "/assets/index-4f2a9c.js",
    "size": 1608055,
    "sources": 214,
    "has_code": true,
    "uploaded_at": "2026-11-22T14:05:09Z"
  },
  "removed": 0
}

Referenz

Objekte

Woraus die Antworten bestehen.

MonitorList

monitorsListe von Monitor
limitinteger
How many monitors the workspace's plan allows
min_interval_secondsinteger
The shortest check interval the plan allows
typesListe von string
The types of monitors this server can check. ping is missing when the server cannot send pings.
check_addressesListe von string
The addresses checks come from, for a firewall that lets only them in (a database's, say). Empty when the server does not name them.

Monitor

idstring
The monitor's ID
namestring
The name shown in the dashboard and in alerts
typestring
What kind of check runs
Eines von: httpkeywordportpingdnsapidatabaseudp
urlstring
What is checked, for every type: the web address, host:port for a port, engine://host:port for a database, or the host
hoststring oder null
port, ping, dns and database: the host name or IP address. Null for the other types.
portinteger oder null
port and database: the TCP port, 1 to 65535. Null for the other types.
keywordstring oder null
keyword: the text to look for on the page. Null for the other types.
keyword_modestring oder null
keyword: whether the text must be on the page or must not be. Null for the other types.
Eines von: presentabsent
dns_record_typestring oder null
dns: the record type asked for. Null for the other types.
Eines von: AAAAACNAMEMXNSTXT
dns_expectedstring oder null
dns: the value one of the records must have. Null when any record will do.
methodstring
How a web address is asked. A keyword monitor always uses GET; http uses GET or HEAD; api any of these.
Eines von: GETHEADPOSTPUTPATCHDELETEOPTIONS
interval_secondsinteger
Time between two checks, in seconds
timeout_secondsinteger
How long one check waits for an answer, in seconds
expected_statusstring
The answer that counts as up. A class such as 2xx, or one code such as 200.
pausedboolean
Switched off by a member of the workspace. A paused monitor is not checked.
suspendedboolean
Switched off by the service's staff. It is not checked, and its owner cannot switch it back on.
statusstring
pending until the first check. A monitor becomes down only after two failed checks in a row.
Eines von: pendingupdown
last_checked_atDatum und Uhrzeit oder null
When the last check ran. Null before the first check.
last_response_msinteger oder null
How long the last check took, in milliseconds
last_status_codeinteger oder null
HTTP status of the last answer, if one came
last_errorCheckError oder null
Why the last check failed. Null when it passed or none ran yet.
maintenance_untilDatum und Uhrzeit oder null
When the planned maintenance that mutes this monitor's alerts ends. Null when no such work is running. During it, a failed check opens no incident and is not counted as downtime.
cert_expiry_daysinteger
Warn this many days before the TLS certificate ends. 0 means no warning.
Eines von: 071430
domain_expiry_daysinteger
Warn this many days before the domain's registration ends. 0 means no warning.
Eines von: 071430
cert_expires_atDatum und Uhrzeit oder null
When the certificate of the page that answered the last HTTPS check ends. Null before such a check.
domainstring oder null
The registered domain of what is checked, such as example.co.uk. Null for an IP address.
domain_expires_atDatum und Uhrzeit oder null
When the domain's registration ends, as its registry publishes it. Looked up once a day.
domain_transfer_lockedboolean oder null
Whether the registry says the domain is locked against transfer to another registrar. Null when not known.
cert_issuerstring oder null
Who issued the certificate the last HTTPS check saw. Null before such a check.
cert_valid_fromDatum und Uhrzeit oder null
Since when that certificate is valid
status_sinceDatum und Uhrzeit oder null
When the status last changed: up since, or down since the first failure. Null while pending.
sla_targetnumber oder null
The availability goal in percent, such as 99.9. Null when none is set.
request_headersListe von RequestHeaderName
api: the names of the headers sent with the request. Their values are stored encrypted and never shown again. Empty for the other types.
request_bodystring oder null
api: the body sent with the request (stored encrypted). Null when there is none.
body_typestring oder null
api: how the body is written; it sets the Content-Type header unless a header does. Null without a body.
Eines von: jsonformxmltext
answer_checksListe von AnswerCheck
api: the checks on the answer; database: the checks on the first row. In the order they run; empty for the other types.
max_response_msinteger oder null
http, keyword, api and database: the answer must come within this many milliseconds, or the check fails with too_slow (a website or keyword monitor only when its answer is otherwise right). Null when there is no limit.
last_failed_checkinteger oder null
api and database: the number (from 1) of the check on the answer that failed in the last check. Null when none failed.
db_enginestring oder null
database: PostgreSQL, or MySQL (also MariaDB). Null for the other types.
Eines von: postgresmysql
db_namestring oder null
database: the database signed in to; empty for the server's default. Null for the other types.
db_userstring oder null
database: the user who signs in. Null for the other types.
db_tlsstring oder null
database: always encrypted; verify checks the certificate, no_verify accepts a self-signed one. Null for the other types.
Eines von: verifyno_verify
db_querystring oder null
database: the query, run read-only as one statement; its first row is what answer_checks read. Null for the other types.
db_has_passwordboolean
database: a password is saved (encrypted; it is never shown)
udp_requeststring oder null
udp: the request sent: a DNS question, an NTP request, the status query of Source-engine games or of Minecraft Bedrock, or custom. Null for the other types.
Eines von: dnsntpsourcebedrockcustom
udp_payloadstring oder null
udp, custom: the request as typed (text, or hex digits). Null otherwise.
udp_formatstring oder null
udp, custom: how udp_payload is written. Null otherwise.
Eines von: texthex
udp_expectstring oder null
udp, custom: a text the answer must contain; null when any answer counts
domain_lookupstring
What is known about the domain's end: none without a registered domain, off when domain warnings are off, pending before the first lookup, ok with a date, unpublished when the registry does not publish it, not_found when the registry does not know the domain, failed when the last lookup failed (it is tried again).
Eines von: noneoffpendingokunpublishednot_foundfailed
created_atDatum und Uhrzeit
When the monitor was created
updated_atDatum und Uhrzeit
When the settings last changed

CheckError

Why a check failed: no answer in time, name not found, connection refused or dropped, certificate problem, another status than expected, too many redirects, an address that leads to a private network, another failure, the keyword is not on the page, a keyword that must not be there is on the page, no DNS record of the type, DNS records without the expected value, an answer that is not JSON while a check looks into it, a check on the answer that did not pass (its number is in failed_check), or an answer slower than max_response_ms. A UDP check only: udp_no_answer, nothing came back to the request in time; udp_unexpected, something came back that is not an answer to it (or lacks the expected text). A traceroute only: not_reached, the last hops did not answer (common; no sign of an outage). A database only: db_auth_failed, the server refused the user, the password or the database (or wanted the password in clear text, which is never sent); db_query_failed, the query did not run (its text, a permission, or a write refused by the read-only transaction). The server's own words are never kept.

Eines von: timeoutdnsconnecttlsstatusredirectsblockedrequest_failedkeyword_missingkeyword_founddns_no_recorddns_mismatchjson_invalidcheck_failedtoo_slownot_reacheddb_auth_faileddb_query_failedudp_no_answerudp_unexpected

RequestHeaderName

namestring
The header's name, such as Authorization

AnswerCheck

sourcestring
Where the value is: in the JSON answer or a header of the answer (api), or a column of the first row (database)
Eines von: jsonheadercolumn
pathstring
json: where the value is, such as data.items[0].status ($ is the whole answer). header: the header's name. column: the column's name, exactly as the query names it.
opstring
How the value is compared. Text is compared exactly; JSON numbers as numbers. A value that is not there passes only not_exists.
Eines von: equalsnot_equalscontainsnot_containsexistsnot_existsless_thangreater_than
valuestring
What the value is compared with. Empty for exists and not_exists; a number for less_than and greater_than.

RequestHeader

namestring
The header's name: letters, digits and - (Host, Content-Length, Connection and a few others cannot be set)
valuestring oder null
Up to 2000 characters on one line. Leave it out on an update to keep the value saved under this name (values are never shown, so they cannot be sent back).

MonitorReport

monitorMonitor
uptimeObjekt
The share of passed checks in the last 24 hours (day), 7 days (week) and 30 days (month)
uptime.dayUptime
uptime.weekUptime
uptime.monthUptime
average_response_msinteger oder null
Average time of the passed checks in the last 24 hours, in milliseconds
checksListe von Check
Checks of the last 24 hours, newest first, at most 500
placesListe von PlaceSummary
The places that checked this monitor in the last 24 hours, with their numbers. The main server comes first.
incidentsListe von Incident
This monitor's incidents, open one first, at most 20

Uptime

checksinteger
Checks in the period
passedinteger
Checks that passed
percentnumber oder null
Passed checks as a share of all checks, 0 to 100. Null when there were no checks.

Check

checked_atDatum und Uhrzeit
When the check ran
okboolean
Whether the check passed
status_codeinteger oder null
HTTP status of the answer. Null when no answer came.
response_msinteger
How long the check took, in milliseconds
errorCheckError oder null
Why the check failed. Null when it passed.
failed_checkinteger oder null
api: the number of the check on the answer that failed. Null otherwise.
placePlace
Where the check ran. Places take turns.

Place

citystring
The place's city. Empty for the main server when it has no name, and for a place that was removed.
countrystring
ISO country code, such as DE. Empty when the city is.
mainboolean
Whether it is the service's main server rather than a probe in another place

PlaceSummary

citystring
The place's city
countrystring
ISO country code
mainboolean
Whether it is the service's main server
checksinteger
Checks from this place in the last 24 hours
passedinteger
Of those, the checks that passed
average_response_msinteger oder null
Average time of its passed checks, in milliseconds. Null when none passed.
last_checked_atDatum und Uhrzeit
When it checked last
last_okboolean
Whether its last check passed

Incident

idstring
The incident's ID
monitor_idstring
The monitor that went down
monitor_namestring
That monitor's name
monitor_urlstring
What is checked: the web address, host:port, or the host
started_atDatum und Uhrzeit
The first failed check
resolved_atDatum und Uhrzeit oder null
When the monitor was up again. Null while the incident is open.
status_codeinteger oder null
HTTP status of the failed check. Null when no answer came.
failed_checkinteger oder null
api: the number of the check on the answer that failed. Null otherwise.
placesListe von PlaceSeen
What every place saw when the incident opened: the place that failed, and the places that checked again to confirm it. Empty for incidents from before checks ran from several places.
acknowledged_atDatum und Uhrzeit oder null
When someone said they are on it: a member, an assistant for its person, or an API key. Null until then.
acknowledged_bystring
Who acknowledged it: a person's name, or an API key's; empty until then
acknowledged_by_keyboolean
True when an API key acknowledged it, so acknowledged_by is the key's name
tracedboolean
The route to the host was traced from every place when the incident opened. The dashboard shows it (kept 30 days).

PlaceSeen

citystring
The place's city, as it was named then
countrystring
ISO country code
mainboolean
Whether it was the service's main server
okboolean
Whether the check passed there
reasonCheckError oder null
Why it failed there. Null when it passed.
status_codeinteger oder null
HTTP status seen there. Null when no answer came.
response_msinteger
How long the check took there, in milliseconds
failed_checkinteger oder null
api: the number of the check on the answer that failed there. Null otherwise.

MonitorStats

statusstring
The monitor's status now
Eines von: pendingupdown
status_sinceDatum und Uhrzeit oder null
Since when it has this status. Null while pending.
sla_targetnumber oder null
The availability goal in percent. Null when none is set.
periodsObjekt
The last 24 hours (day), 7 days (week), 30 days (month) and 365 days (year)
periods.dayAvailability
periods.weekAvailability
periods.monthAvailability
periods.yearAvailability
rangeObjekt
The chosen range of days, with the same numbers as a period and a few more
range.fromstring
The first day
range.tostring
The last day
range.percentnumber oder null
The share of the range outside incidents, 0 to 100. Null when the monitor did not exist yet.
range.downtime_secondsinteger
Time inside incidents, in seconds
range.maintenance_secondsinteger
Planned maintenance that muted the monitor's alerts, in seconds
range.incidentsinteger
Incidents that started in the range
range.mtbf_secondsinteger oder null
Mean time between failures. Null without incidents.
range.mttr_secondsinteger oder null
Mean time to repair. Null when no incident ended.
range.checksinteger
Checks in those days
range.down_checksinteger
Checks while the monitor was confirmed down
range.sla_metboolean oder null
Whether the range reached the availability goal. Null without a goal.
daysListe von Objekt
The last 365 days (UTC), oldest first
recentListe von Slot
The last 6 hours in 72 slots of 5 minutes, oldest first. A slot without checks has 0 checks.

Availability

percentnumber oder null
The share of the period outside incidents, 0 to 100. Null when the monitor did not exist yet.
downtime_secondsinteger
Time inside incidents, in seconds
maintenance_secondsinteger
Planned maintenance that muted the monitor's alerts, in seconds
incidentsinteger
Incidents that started in the period
mtbf_secondsinteger oder null
Mean time between failures: the time up divided by the incidents. Null without incidents.
mttr_secondsinteger oder null
Mean time to repair: the average length of the incidents that ended. Null when none ended.

Slot

atDatum und Uhrzeit
The start of the slot
checksinteger
Checks in the slot
failedinteger
Of those, the checks that failed
average_msinteger oder null
Average time of the passed checks, in milliseconds. Null when none passed.
min_msinteger oder null
The fastest passed check
max_msinteger oder null
The slowest passed check
errorCheckError oder null
The most common reason of the failed checks. Null when none failed.
status_codeinteger oder null
The most common HTTP status of the failed checks
phasesPhases oder null
The average steps of the passed web checks. Null for other checks and without an answer.
speed_mbpsnumber oder null
Their average download speed, in Mbit/s. Null when none could be measured.

Phases

How long each step of a web check took, in milliseconds, in the order they happen

redirect_msinteger
Following redirects to the last page
connect_msinteger
Connecting to its server, the DNS lookup included
tls_msinteger
The TLS handshake. 0 without HTTPS.
wait_msinteger
Waiting for the first byte of the answer: the server's own time
download_msinteger
Downloading the rest of the page (at most 1 MB is read)

MonitorResponse

rangestring
The range asked for
Eines von: 1h6h24h7d30d
step_secondsinteger
The length of one slot, in seconds
slotsListe von Slot
The slots that have checks, oldest first
summaryResponseSummary
The whole range
previousResponseSummary
The range of the same length just before, to compare

ResponseSummary

checksinteger
Checks in the range
failedinteger
Of those, the checks that failed
average_msinteger oder null
Average time of the passed checks, in milliseconds. Null when none passed.
min_msinteger oder null
The fastest passed check
max_msinteger oder null
The slowest passed check
p95_msinteger oder null
95 % of the passed checks were at least this fast
phasesPhases oder null
The average steps of the passed web checks. Null for other checks.
speedSpeed oder null
Their download speed. Null when none could be measured.

Speed

The download speed of the passed web checks, in Mbit/s

average_mbpsnumber
The average
peak_mbpsnumber
The fastest check
low_mbpsnumber
The slowest check
stability_percentnumber oder null
How much it varies: the standard deviation as a share of the average. Null with one check.

Acknowledged

acknowledged_atDatum und Uhrzeit
When it was acknowledged
acknowledged_bystring
Who acknowledged it: the person's name, or the API key's
acknowledged_by_keyboolean
True when an API key acknowledged it, so acknowledged_by is the key's name

StatusPageList

base_urlstring
Where the pages live: a page is at base_url, a slash, and its slug
status_pagesListe von Objekt
The pages, oldest first
limitinteger
How many status pages the workspace's plan allows

StatusPage

idstring
The page's ID
namestring
Its name, the heading of the public page
slugstring
The page's address: the last part of url
urlstring
Where the public finds the page, once it is published
publishedboolean
Public: anyone with the address sees it
hide_from_searchboolean
Ask search engines not to list the page
servicesListe von StatusPageService
The monitors the page shows, in order
created_atDatum und Uhrzeit
When it was created
updated_atDatum und Uhrzeit
When its settings last changed
custom_domainstring oder null
The owner's own address for the page, such as status.example.com
domain_statusstring
waiting until DNS was seen pointing at dns_target; connected when the page is served there
Eines von: nonewaitingconnected
domain_errorstring oder null
Why a waiting domain is not served yet: it has no DNS records, or they point somewhere else
Eines von: dns_not_founddns_elsewherenull
domain_checked_atDatum und Uhrzeit oder null
When the custom domain's DNS was last looked at
dns_targetstring
What a custom domain's CNAME record must point at
logo_hashstring oder null
Changes with the logo; null without one
accent_colorstring oder null
The page's accent colour, such as #2a62f5
hide_brandingboolean
Leave out the "Powered by" line (white-label)
themestring
The page's colours: auto follows each visitor's device
Eines von: autolightdark
branding_allowedboolean
Whether the plan includes a custom domain, a logo and a colour
white_label_allowedboolean
Whether the plan includes hiding the "Powered by" line

StatusPageService

monitor_idstring
The monitor shown
namestring
What the public reads. Empty: the monitor's own name.
monitor_namestring
The monitor's own name

StatusIncident

idstring
The incident's ID
titlestring
Its title, as the public reads it
statestring
The state of the newest update
Eines von: investigatingidentifiedmonitoringresolved
resolved_atDatum und Uhrzeit oder null
When it was resolved; null while it is open
created_atDatum und Uhrzeit
When it was posted
updatesListe von Objekt
Newest first

StatusMaintenance

idstring
The maintenance's ID
titlestring
Its title, as the public reads it
bodystring
Its message; may be empty
starts_atDatum und Uhrzeit
When the work starts
ends_atDatum und Uhrzeit
When it ends
statestring
It follows from the clock
Eines von: scheduledin_progresscompleted
muteboolean
While the work runs, the page's monitors send no alerts and failed checks are not counted as downtime

Heartbeat

idstring
The heartbeat's ID
namestring
Its name, such as Nightly backup
period_secondsinteger
How often the job reports, when it has no schedule
grace_secondsinteger
How long a report may be late. A job that said it started must finish within this time.
schedulestring
A cron schedule (minute, hour, day of month, month, day of week), such as 0 3 * * *. Empty: the job reports every period_seconds.
timezonestring
The time zone of the schedule, such as America/Toronto
pausedboolean
Paused: no report is expected and no incident opens
statusstring
new until the first report. down when a report is late or the job reported a failure.
Eines von: newupdown
ping_urlstring
The secret address the job calls. Given to members and up in the dashboard; to an API key only in the answer that creates it or gives it a new address; never to an AI assistant. Empty otherwise.
due_atDatum und Uhrzeit oder null
When the next report must have come. For a heartbeat that is late: when it became late.
last_ping_atDatum und Uhrzeit oder null
The last report of success
last_started_atDatum und Uhrzeit oder null
When the job last said it started (/start)
last_failed_atDatum und Uhrzeit oder null
When the job last reported a failure (/fail)
last_outputstring
What the job sent with its last report. Empty in a list.
created_atDatum und Uhrzeit
When it was created
updated_atDatum und Uhrzeit
When its settings last changed

HeartbeatIncident

idstring
The incident's ID
heartbeat_idstring
The heartbeat it is about
heartbeat_namestring
The heartbeat's name
started_atDatum und Uhrzeit
When it opened
resolved_atDatum und Uhrzeit oder null
When it ended; null while it is open
causestring
late: no report in time. failed: the job said so.
Eines von: latefailed
acknowledged_atDatum und Uhrzeit oder null
When someone said they are on it: a member, an assistant for its person, or an API key. Null until then.
acknowledged_bystring
Who acknowledged it: a person's name, or an API key's; empty until then
acknowledged_by_keyboolean
True when an API key acknowledged it, so acknowledged_by is the key's name

Server

idstring
Server ID, such as srv_0192f0c1a2b37c4d8e5f6a7b8c9d0e1f
namestring
Its name in the dashboard
tagsListe von string
At most 10, lowercase
statestring
new: the agent never reported; online: it reported in the last 3 minutes; offline: not since
Eines von: newonlineoffline
over_planboolean
Beyond the plan's limit: its reports are refused
hostnamestring
As the server reports it; empty before the first report
osstring
Such as Ubuntu 24.04.1 LTS
kernelstring
The Linux kernel's version
archstring
amd64 or arm64
cpu_coresinteger oder null
Null before the first report
memory_bytesinteger oder null
The memory size; null before the first report
boot_atDatum und Uhrzeit oder null
When the server last started
agent_versionstring
The agent's version, such as 1.3.0
last_report_atDatum und Uhrzeit oder null
The agent's last report; null before the first
token_prefixstring
The start of the token, to recognise it
created_atDatum und Uhrzeit
When it was added
open_alertsinteger
How many alerts of the server are open
nowObjekt oder null
The newest minute, in the list only
now.atDatum und Uhrzeit
The minute
now.cpu_percentnumber
All cores together, 0 to 100
now.memory_percentnumber
Memory in use
now.disk_percentnumber
The fullest disk
now.load1number
The load average over 1 minute

ServerWithToken

serverServer
tokenstring
The server's token, shown this one time
installstring
The command that sets the agent up, with the token

ServerDetail

serverServer
latestObjekt oder null
The newest minute in full; null before the first report
latest.atDatum und Uhrzeit
The minute
latest.cpu_percentnumber
All cores together, 0 to 100
latest.loadListe von number
1, 5 and 15 minutes
latest.memory_usedinteger
Bytes
latest.memory_totalinteger
Bytes
latest.swap_usedinteger
Bytes
latest.swap_totalinteger
Bytes
latest.disk_usedinteger
All real filesystems together
latest.disk_totalinteger
Bytes, all real filesystems together
latest.disk_percentnumber
The fullest disk
latest.net_rx_bytes_per_secondinteger
Received, all interfaces but the loopback
latest.net_tx_bytes_per_secondinteger
Sent, all interfaces but the loopback
latest.processesinteger
How many processes run
disksListe von AgentDisk
The real filesystems of the newest report
processesListe von AgentProcess
The busiest processes of the newest report, by name only
uninstallstring
The command that takes the agent off the server
incidentsListe von ServerIncident
The newest 20 alerts, the open ones first

AgentDisk

mountstring
Where it is mounted, such as /
fsstring
The filesystem type, such as ext4
usedinteger
Bytes in use
totalinteger
Its size in bytes

AgentProcess

namestring
The program's name (never its command line)
cpu_percentnumber
Of one core: above 100 when it uses several
memory_bytesinteger
Memory it uses

ServerIncident

idstring
The alert's ID (an incident)
server_idstring
The server it is about
server_namestring
The server's name
started_atDatum und Uhrzeit
When it opened
resolved_atDatum und Uhrzeit oder null
When it ended; null while it is open
causestring
The rule's metric; silent: the server stopped reporting
Eines von: cpumemoryswapdiskloadsilent
alertObjekt
The rule as it was when the alert opened, and the value then (null for silent)
alert.metricstring
The rule's metric
alert.thresholdnumber
The rule's limit: percent, or the load
alert.minutesinteger
How long the value had to stay above the limit
alert.valuenumber oder null
The value when the alert opened
alert.ping_answeredboolean oder null
For silent: whether the server's last address answered a ping; null: not pinged
alert.addressstring
For silent: the address that was pinged
acknowledged_atDatum und Uhrzeit oder null
When someone said they are on it: a member, an assistant for its person, or an API key. Null until then.
acknowledged_bystring
Who acknowledged it: a person's name, or an API key's; empty until then
acknowledged_by_keyboolean
True when an API key acknowledged it, so acknowledged_by is the key's name

ServerSlot

atDatum und Uhrzeit
The start of the slot
cpu_percentnumber
The average CPU use
cpu_max_percentnumber
The highest minute of CPU use in the slot
memory_percentnumber
Memory in use
swap_percentnumber
Swap in use
disk_percentnumber
The fullest disk
load1number
The load average over 1 minute
net_rx_bytes_per_secondinteger
Received, all interfaces but the loopback
net_tx_bytes_per_secondinteger
Sent, all interfaces but the loopback
processesinteger
How many processes ran

SourceMap

idstring
The map's ID
site_idstring
Its site
releasestring
The release it is for; empty for pages that name none
pathstring
The path of the minified script it belongs to
sizeinteger
Bytes as uploaded: what counts toward the plan's room
sourcesinteger
Source files in it
has_codeboolean
It holds the sources' code, so the issue page can show code lines
uploaded_atDatum und Uhrzeit
When it was uploaded; it goes 90 days later

CurrentApiKey

idstring
The key's ID
namestring
The name given when the key was created
prefixstring
The first characters of the key, to tell keys apart
scopesListe von Scope
What this key may do
organization_idstring
The workspace the key belongs to. It is the {org} part of every address.

Scope

One permission of an API key.

Eines von: monitors:readmonitors:createmonitors:updatemonitors:deletereports:readincidents:acknowledgeheartbeats:readheartbeats:createheartbeats:updateheartbeats:deleteservers:readservers:createservers:updateservers:deletestatus_pages:readstatus_pages:postsource_maps:upload