Développeurs

Documentation de l'API

Vos programmes peuvent faire ce que fait le tableau de bord : créer et modifier des moniteurs, des heartbeats et des serveurs, lire la disponibilité, les vérifications, les mesures et les incidents, prendre en charge des incidents et publier sur les pages de statut.

Les descriptions des routes et des champs sont en anglais.

Sur cette page

Pour commencer

L'API échange du JSON par HTTPS. Chaque adresse commence par :

https://app.uptimezy.com/api/v1
  1. Dans le tableau de bord, ouvrez « Clés d'API » et créez une clé. Donnez-lui seulement les permissions dont votre programme a besoin.
  2. Copiez la clé quand elle s'affiche. Elle s'affiche une seule fois : nous n'en gardons qu'une empreinte, donc personne ne peut la lire plus tard, pas même nous.
  3. Demandez à l'API à quel espace de travail la clé appartient. La réponse contient l'identifiant de l'espace de travail, nécessaire dans toutes les autres adresses.
Requête
curl https://app.uptimezy.com/api/v1/api-key \
  -H "Authorization: Bearer $API_KEY"
Réponse · 200
{
  "id": "key_0192f0c1a2b37c4d8e5f6a7b8c9d0a01",
  "name": "Status board",
  "prefix": "mk_Zq4tN8wL",
  "scopes": [
    "monitors:read",
    "reports:read"
  ],
  "organization_id": "org_0192f0c1a2b37c4d8e5f6a7b8c9d0001"
}

Ouvrir le tableau de bord

Authentification

Envoyez la clé avec chaque requête, dans l'en-tête Authorization :

Authorization: Bearer mk_…
  • Une clé appartient à un seul espace de travail et ne fonctionne que sur les adresses de cet espace.
  • Une clé ne peut faire que ce que ses permissions autorisent. Une requête qui demande une autre permission reçoit le statut 403 et le code insufficient_scope.
  • Gardez les clés sur votre serveur, jamais dans une page web ou une application mobile. Si une clé fuit, révoquez-la dans le tableau de bord : elle cesse de fonctionner tout de suite.

Permissions

PermissionCe qu'elle autorise
monitors:readLister les moniteurs et lire un moniteur
monitors:createCréer des moniteurs
monitors:updateModifier, mettre en pause et reprendre des moniteurs
monitors:deleteSupprimer des moniteurs
reports:readLire la disponibilité, les vérifications et les incidents
incidents:acknowledgePrendre en charge des incidents : l’incident porte le nom de la clé
heartbeats:readLister les heartbeats, en lire un, et leurs incidents (sans leurs adresses secrètes)
heartbeats:createCréer des heartbeats : la réponse contient la nouvelle adresse
heartbeats:updateModifier, mettre en pause et reprendre des heartbeats, et en doter un d’une nouvelle adresse
heartbeats:deleteSupprimer des heartbeats
servers:readLister les serveurs, en lire un avec ses mesures, et leurs alertes
servers:createAjouter des serveurs : la réponse contient le jeton et la commande d’installation
servers:updateRenommer des serveurs, changer leurs étiquettes, et en doter un d’un nouveau jeton
servers:deleteRetirer des serveurs
status_pages:readLister les pages de statut, en lire une, leurs incidents et leurs maintenances planifiées
status_pages:postPublier des incidents, des mises à jour et des maintenances planifiées sur les pages de statut : publics tout de suite et envoyés par courriel aux abonnés (10 publications par page et par heure)
source_maps:uploadTéléverser les source maps des scripts minifiés d’un site (la clé ne peut pas les relire)

Limites

Chaque clé a sa propre limite de requêtes. Elle dépend du forfait de l'espace de travail :

ForfaitRequêtes par minute
Gratuit60
Pro300
Team600
Business1 200
Enterprise2 400
  • Au-delà de la limite, la réponse a le statut 429, le code rate_limited et un en-tête Retry-After avec le nombre de secondes à attendre. Toutes les requêtes d'une même adresse partagent aussi une limite à elles, donc des programmes sur le même serveur peuvent se ralentir entre eux.
  • Le corps d'une requête peut faire 64 Ko au maximum.
  • Le nombre de moniteurs et l'intervalle de vérification le plus court dépendent aussi du forfait. Une requête qui dépasse une telle limite reçoit le statut 403 et le code plan_limit_reached.

Comparer les forfaits

Assistants IA (MCP)

Les assistants IA comme ChatGPT et Claude Code peuvent utiliser votre espace de travail grâce au MCP (Model Context Protocol). Ils se connectent à cette adresse :

https://app.uptimezy.com/api/mcp
  1. Ouverture de session (ChatGPT, Claude Code) : l’assistant ouvre une page du tableau de bord où vous choisissez l’espace de travail et ce qu’il peut faire. Il agit pour vous : il ne peut jamais faire plus que ce que votre rôle permet, et il s’arrête quand vous quittez l’espace de travail.
  2. Ou une clé d’API (tout assistant qui peut envoyer un en-tête) : dans le tableau de bord, ouvrez « Clés d’API », créez une clé avec seulement les autorisations que l’assistant peut utiliser, et donnez-lui l’en-tête Authorization: Bearer mk_….

Ce qu’un assistant peut faire

OutilCe qu'elle autorise
list_monitorsPermission: monitors:readLister les moniteurs et leur état actuel
get_monitorPermission: monitors:readLire un moniteur
monitor_reportPermission: reports:readVérifications récentes, temps de réponse et incidents d’un moniteur
monitor_uptimePermission: reports:readDisponibilité et indisponibilité sur le dernier jour, la semaine, le mois, l’année ou des jours choisis, et si l’objectif est atteint
list_incidentsPermission: reports:readLister les incidents des moniteurs, ceux en cours d’abord
acknowledge_incidentPermission: incidents:acknowledgePrendre en charge un incident en cours : l’escalade s’arrête et l’équipe apprend qui s’en occupe
list_heartbeatsPermission: heartbeats:readLister les heartbeats avec leur état actuel
get_heartbeatPermission: heartbeats:readLire un heartbeat avec ce que sa tâche a envoyé en dernier et ses incidents
list_heartbeat_incidentsPermission: heartbeats:readLister les incidents des heartbeats, ceux en cours d’abord
pause_heartbeatPermission: heartbeats:updateMettre un heartbeat en pause
resume_heartbeatPermission: heartbeats:updateRelancer un heartbeat en pause
list_serversPermission: servers:readLister les serveurs avec leur dernière minute
get_serverPermission: servers:readLire un serveur avec ses disques, ses processus les plus actifs et ses alertes
server_metricsPermission: servers:readLe processeur, la mémoire, le disque, la charge et le réseau d’un serveur, de la dernière heure jusqu’à 30 jours
list_server_incidentsPermission: servers:readLister les alertes des serveurs, celles en cours d’abord
list_status_pagesPermission: status_pages:readLister les pages de statut
list_status_incidentsPermission: status_pages:readLister les incidents publiés sur une page de statut
list_maintenancePermission: status_pages:readLister les maintenances planifiées de toutes les pages de statut
post_status_incidentPermission: status_pages:postPublier un incident sur une page de statut (public, courriel aux abonnés)
update_status_incidentPermission: status_pages:postPublier une mise à jour d’un incident de page de statut
schedule_maintenancePermission: status_pages:postAnnoncer une maintenance planifiée sur une page de statut (sans sourdine des alertes)
create_monitorPermission: monitors:createCréer un moniteur de site Web, de mot-clé, de port, de ping ou DNS
pause_monitorPermission: monitors:updateMettre un moniteur en pause
resume_monitorPermission: monitors:updateRelancer un moniteur en pause

Connecter votre assistant

Claude (claude.ai et les applications) : ouvrez Customize > Connectors, choisissez « + Add » puis « Add custom connector », et saisissez un nom et l’adresse. Dans les forfaits Team et Enterprise, un propriétaire l’ajoute dans Organization settings > Connectors. Nous n’avons pas testé l’ouverture de session depuis Claude : pour utiliser une clé, ajoutez l’en-tête Authorization: Bearer mk_… sous « Request headers ».

ChatGPT : ouvrez Plugins, choisissez le bouton plus et « Add custom MCP server », saisissez l’adresse, et ouvrez une session quand ChatGPT le demande.

Claude Code : lancez cette commande; elle ouvre votre navigateur pour ouvrir une session. Pour utiliser plutôt une clé, ajoutez --header "Authorization: Bearer mk_…". Ajoutez --scope user pour l’utiliser dans tous les projets.

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

Cursor (~/.cursor/mcp.json) et VS Code (.mcp.json) : ajoutez le serveur et gardez la clé dans une variable d’environnement, pas dans le fichier.

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}"
      }
    }
  }
}
  • Un assistant voit seulement les outils que ses autorisations permettent. Chaque changement qu’il fait figure dans le journal d’audit, marqué « par un assistant IA (MCP) » : avec votre nom s’il a ouvert une session, comme « Clé d'API » avec l’identifiant de la clé s’il utilise une clé.
  • Quand un assistant prend en charge un incident, les alertes de l’équipe donnent votre nom s’il a ouvert une session, ou celui de la clé s’il en utilise une.
  • Les assistants connectés en ouvrant une session sont listés dans votre compte et, pour les propriétaires et les administrateurs, sur la page des clés d’API. Déconnectez-en un et il s’arrête aussitôt. Un nouveau mot de passe déconnecte tous les vôtres.
  • Aucun outil ne supprime quoi que ce soit. Aucun outil ne crée de heartbeat ni de serveur, et un assistant ne voit jamais l’adresse secrète d’un heartbeat ni le jeton d’un serveur.
  • Publier sur une page de statut demande une clé d’API avec cette autorisation : les assistants qui ouvrent une session peuvent lire les pages de statut, mais pas y publier.
  • Chaque message envoyé à l’adresse compte comme une requête (voir Limites). Les assistants avec une version plus ancienne du protocole envoient quelques messages pour commencer.
  • Ce que l’assistant lit va à l’entreprise qui le fait fonctionner. Connectez seulement un assistant de confiance.

Erreurs

Une erreur a un statut HTTP de 400 ou plus et un corps JSON comme celui-ci :

Réponse · 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."
    }
  ]
}

Appuyez-vous sur code : il ne change jamais. Les phrases de detail et de message sont destinées aux personnes et arrivent en anglais, français, espagnol ou allemand, selon l'en-tête Accept-Language.

Champs d'une erreur

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.
Une valeur parmi : 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 de objet
Only when fields of the request are not valid. One entry per field.

Codes

StatutCodeSignification
400invalid_requestLa requête est illisible : le JSON est incorrect, ou il contient un champ qui n'existe pas.
401invalid_api_keyAucune clé n'a été envoyée, ou la clé est fausse ou a été révoquée.
403insufficient_scopeLa clé n'a pas la permission que cette route demande.
403plan_limit_reachedL'espace de travail a atteint une limite de son forfait.
404not_foundL'adresse ou l'identifiant n'existe pas, ou appartient à un autre espace de travail.
408upload_too_slowLe téléversement de la source map s’est arrêté 10 secondes ou arrivait à moins de 32 Ko par seconde. Renvoyez-la.
409already_acknowledgedQuelqu’un a déjà pris cet incident en charge.
409incident_overL’incident est terminé : il n’y a rien à prendre en charge.
413payload_too_largeLe corps de la requête dépasse 64 Ko (20 Mo pour une source map).
415unsupported_media_typeLe corps n'a pas été envoyé en JSON. Envoyez l'en-tête Content-Type: application/json.
422validation_failedUn ou plusieurs champs ne sont pas valides. errors nomme chacun d'eux.
429rate_limitedTrop de requêtes. Attendez le temps indiqué par l'en-tête Retry-After.
429too_many_postsUn programme a publié 10 fois sur une page de statut en une heure (chaque publication est envoyée aux abonnés). Attendez le temps indiqué par l’en-tête Retry-After.
500internal_errorUn problème est survenu de notre côté. Réessayez. S'il persiste, écrivez-nous en envoyant le request_id.
503uploads_busyTous les téléversements de source maps sont occupés. Attendez le temps indiqué par l’en-tête Retry-After et renvoyez-la (curl --retry le fait).

Référence

La clé utilisée

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.

Toutes les clés peuvent utiliser cette route.

Réponse

200The key in use · CurrentApiKey

Erreurs possibles: 401429

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

Référence

Moniteurs

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.

Permission: monitors:read

Dans l'adresse

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

Réponse

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

Erreurs possibles: 401403404429

Requête
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/monitors \
  -H "Authorization: Bearer $API_KEY"
Réponse · 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.

Permission: monitors:create

Dans l'adresse

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

Corps de la requête

namestringobligatoire
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 de 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 de 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.
Une valeur parmi : 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.
Une valeur parmi : 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.
Une valeur parmi : 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)
Une valeur parmi : texthex
udp_expectstring
udp, custom: optional. A text the answer must contain

Réponse

201Created · Monitor

Erreurs possibles: 400401403404415422429

Requête
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"}'
Réponse · 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.

Permission: monitors:read

Dans l'adresse

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

Réponse

200The monitor · Monitor

Erreurs possibles: 401403404429

Requête
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/monitors/mon_0192f0c1a2b37c4d8e5f6a7b8c9d0e1f \
  -H "Authorization: Bearer $API_KEY"
Réponse · 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.

Permission: monitors:update

Dans l'adresse

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

Corps de la requête

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 de 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 de 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.
Une valeur parmi : 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.
Une valeur parmi : 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.
Une valeur parmi : 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)
Une valeur parmi : texthex
udp_expectstring
udp, custom: optional. A text the answer must contain

Réponse

200The monitor after the change · Monitor

Erreurs possibles: 400401403404415422429

Requête
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}'
Réponse · 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.

Permission: monitors:delete

Dans l'adresse

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

Réponse

204Deleted

Erreurs possibles: 401403404429

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

Référence

Rapports et incidents

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.

Permission: reports:read

Dans l'adresse

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

Réponse

200The report · MonitorReport

Erreurs possibles: 401403404429

Requête
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/monitors/mon_0192f0c1a2b37c4d8e5f6a7b8c9d0e1f/report \
  -H "Authorization: Bearer $API_KEY"
Réponse · 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.

Permission: reports:read

Dans l'adresse

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

Réponse

200The statistics · MonitorStats

Erreurs possibles: 401403404422429

Requête
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/monitors/mon_0192f0c1a2b37c4d8e5f6a7b8c9d0e1f/stats \
  -H "Authorization: Bearer $API_KEY"
Réponse · 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.

Permission: reports:read

Dans l'adresse

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

Réponse

200The response times · MonitorResponse

Erreurs possibles: 401403404422429

Requête
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/monitors/mon_0192f0c1a2b37c4d8e5f6a7b8c9d0e1f/response \
  -H "Authorization: Bearer $API_KEY"
Réponse · 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.

Permission: reports:read

Dans l'adresse

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

Réponse

200The incidents · IncidentList

Erreurs possibles: 401403404429

Requête
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/incidents \
  -H "Authorization: Bearer $API_KEY"
Réponse · 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.

Permission: incidents:acknowledge

Dans l'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

Réponse

200Acknowledged · Acknowledged

Erreurs possibles: 401403404409429

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

Référence

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.

Permission: heartbeats:read

Dans l'adresse

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

Réponse

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

Erreurs possibles: 401403404429

Requête
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/heartbeats \
  -H "Authorization: Bearer $API_KEY"
Réponse · 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.

Permission: heartbeats:create

Dans l'adresse

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

Corps de la requête

namestringobligatoire
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.

Réponse

201The heartbeat, with its secret address · Heartbeat

Erreurs possibles: 400401403404415422429

Requête
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}'
Réponse · 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.

Permission: heartbeats:read

Dans l'adresse

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

Réponse

200The heartbeat · objet

Erreurs possibles: 401403404429

Requête
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/heartbeats/hbt_0192f0c1a2b37c4d8e5f6a7b8c9d0e31 \
  -H "Authorization: Bearer $API_KEY"
Réponse · 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.

Permission: heartbeats:update

Dans l'adresse

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

Corps de la requête

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

Réponse

200The heartbeat after the change · Heartbeat

Erreurs possibles: 400401403404415422429

Requête
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}'
Réponse · 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.

Permission: heartbeats:delete

Dans l'adresse

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

Réponse

204Deleted

Erreurs possibles: 401403404429

Requête
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.

Permission: heartbeats:update

Dans l'adresse

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

Réponse

200The heartbeat with its new address · Heartbeat

Erreurs possibles: 401403404429

Requête
curl -X POST https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/heartbeats/hbt_0192f0c1a2b37c4d8e5f6a7b8c9d0e31/new-address \
  -H "Authorization: Bearer $API_KEY"
Réponse · 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.

Permission: heartbeats:read

Dans l'adresse

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

Réponse

200The incidents · objet

Erreurs possibles: 401403404429

Requête
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/heartbeat-incidents \
  -H "Authorization: Bearer $API_KEY"
Réponse · 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
    }
  ]
}

Référence

Serveurs

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.

Permission: servers:read

Dans l'adresse

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

Réponse

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

Erreurs possibles: 401403404429

Requête
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/servers \
  -H "Authorization: Bearer $API_KEY"
Réponse · 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.

Permission: servers:create

Dans l'adresse

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

Corps de la requête

namestringobligatoire
1 to 100 characters

Réponse

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

Erreurs possibles: 400401403404415422429

Requête
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"}'
Réponse · 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.

Permission: servers:read

Dans l'adresse

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

Réponse

200The server · ServerDetail

Erreurs possibles: 401403404429

Requête
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/servers/srv_0192f0c1a2b37c4d8e5f6a7b8c9d0e41 \
  -H "Authorization: Bearer $API_KEY"
Réponse · 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").

Permission: servers:update

Dans l'adresse

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

Corps de la requête

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

Réponse

200The server after the change · Server

Erreurs possibles: 400401403404415422429

Requête
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"]}'
Réponse · 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.

Permission: servers:delete

Dans l'adresse

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

Réponse

204Deleted

Erreurs possibles: 401403404429

Requête
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.

Permission: servers:update

Dans l'adresse

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

Réponse

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

Erreurs possibles: 401403404429

Requête
curl -X POST https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/servers/srv_0192f0c1a2b37c4d8e5f6a7b8c9d0e41/token \
  -H "Authorization: Bearer $API_KEY"
Réponse · 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.

Permission: servers:read

Dans l'adresse

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

Réponse

200The slots, oldest first · objet

Erreurs possibles: 401403404422429

Requête
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/servers/srv_0192f0c1a2b37c4d8e5f6a7b8c9d0e41/metrics \
  -H "Authorization: Bearer $API_KEY"
Réponse · 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.

Permission: servers:read

Dans l'adresse

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

Réponse

200The alerts · objet

Erreurs possibles: 401403404429

Requête
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/server-incidents \
  -H "Authorization: Bearer $API_KEY"
Réponse · 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
    }
  ]
}

Référence

Pages de statut

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.

Permission: status_pages:read

Dans l'adresse

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

Réponse

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

Erreurs possibles: 401403404429

Requête
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/status-pages \
  -H "Authorization: Bearer $API_KEY"
Réponse · 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.

Permission: status_pages:read

Dans l'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

Réponse

200The page · StatusPage

Erreurs possibles: 401403404429

Requête
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/status-pages/stp_0192f0c1a2b37c4d8e5f6a7b8c9d0e51 \
  -H "Authorization: Bearer $API_KEY"
Réponse · 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.

Permission: status_pages:read

Dans l'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

Réponse

200The incidents · objet

Erreurs possibles: 401403404429

Requête
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/status-pages/stp_0192f0c1a2b37c4d8e5f6a7b8c9d0e51/incidents \
  -H "Authorization: Bearer $API_KEY"
Réponse · 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.

Permission: status_pages:post

Dans l'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

Corps de la requête

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

Réponse

201The incident · StatusIncident

Erreurs possibles: 400401403404415422429

Requête
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."}'
Réponse · 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.

Permission: status_pages:post

Dans l'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

Corps de la requête

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

Réponse

201The incident with all its updates · StatusIncident

Erreurs possibles: 400401403404415422429

Requête
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."}'
Réponse · 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.

Permission: status_pages:read

Dans l'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

Réponse

200The planned maintenance · objet

Erreurs possibles: 401403404429

Requête
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/status-pages/stp_0192f0c1a2b37c4d8e5f6a7b8c9d0e51/maintenance \
  -H "Authorization: Bearer $API_KEY"
Réponse · 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.

Permission: status_pages:post

Dans l'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

Corps de la requête

titlestringobligatoire
1 to 200 characters
bodystring
Plain text, at most 2000 characters. Line breaks are kept. May be empty.
starts_atdate et heureobligatoire
When the work starts: within a year
ends_atdate et heureobligatoire
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).

Réponse

201The planned maintenance · StatusMaintenance

Erreurs possibles: 400401403404415422429

Requête
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"}'
Réponse · 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.

Permission: status_pages:post

Dans l'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

Corps de la requête

titlestring
1 to 200 characters
bodystring
Plain text, at most 2000 characters. Line breaks are kept. May be empty.
starts_atdate et heure
When the work starts: within a year
ends_atdate et heure
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).

Réponse

200The planned maintenance after the change · StatusMaintenance

Erreurs possibles: 400401403404415422429

Requête
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"}'
Réponse · 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.

Permission: status_pages:read

Dans l'adresse

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

Réponse

200The planned maintenance · objet

Erreurs possibles: 401403404429

Requête
curl https://app.uptimezy.com/api/v1/orgs/org_0192f0c1a2b37c4d8e5f6a7b8c9d0001/maintenance \
  -H "Authorization: Bearer $API_KEY"
Réponse · 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
    }
  ]
}

Référence

Suivi des erreurs

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.

Permission: source_maps:upload

Dans l'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)

Champs du formulaire (multipart/form-data)

minified_urlstringobligatoire
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_mapfileobligatoire
The map file (version 3, without sections), at most 20 MB. Send it last

Réponse

201The map, kept · objet

Erreurs possibles: 400401403404408413415422429503

Requête
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"
Réponse · 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
}

Référence

Objets

Ce dont les réponses sont faites.

MonitorList

monitorsliste de Monitor
limitinteger
How many monitors the workspace's plan allows
min_interval_secondsinteger
The shortest check interval the plan allows
typesliste de string
The types of monitors this server can check. ping is missing when the server cannot send pings.
check_addressesliste de 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
Une valeur parmi : 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 ou null
port, ping, dns and database: the host name or IP address. Null for the other types.
portinteger ou null
port and database: the TCP port, 1 to 65535. Null for the other types.
keywordstring ou null
keyword: the text to look for on the page. Null for the other types.
keyword_modestring ou null
keyword: whether the text must be on the page or must not be. Null for the other types.
Une valeur parmi : presentabsent
dns_record_typestring ou null
dns: the record type asked for. Null for the other types.
Une valeur parmi : AAAAACNAMEMXNSTXT
dns_expectedstring ou 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.
Une valeur parmi : 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.
Une valeur parmi : pendingupdown
last_checked_atdate et heure ou null
When the last check ran. Null before the first check.
last_response_msinteger ou null
How long the last check took, in milliseconds
last_status_codeinteger ou null
HTTP status of the last answer, if one came
last_errorCheckError ou null
Why the last check failed. Null when it passed or none ran yet.
maintenance_untildate et heure ou 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.
Une valeur parmi : 071430
domain_expiry_daysinteger
Warn this many days before the domain's registration ends. 0 means no warning.
Une valeur parmi : 071430
cert_expires_atdate et heure ou null
When the certificate of the page that answered the last HTTPS check ends. Null before such a check.
domainstring ou null
The registered domain of what is checked, such as example.co.uk. Null for an IP address.
domain_expires_atdate et heure ou null
When the domain's registration ends, as its registry publishes it. Looked up once a day.
domain_transfer_lockedboolean ou null
Whether the registry says the domain is locked against transfer to another registrar. Null when not known.
cert_issuerstring ou null
Who issued the certificate the last HTTPS check saw. Null before such a check.
cert_valid_fromdate et heure ou null
Since when that certificate is valid
status_sincedate et heure ou null
When the status last changed: up since, or down since the first failure. Null while pending.
sla_targetnumber ou null
The availability goal in percent, such as 99.9. Null when none is set.
request_headersliste de 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 ou null
api: the body sent with the request (stored encrypted). Null when there is none.
body_typestring ou null
api: how the body is written; it sets the Content-Type header unless a header does. Null without a body.
Une valeur parmi : jsonformxmltext
answer_checksliste de 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 ou 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 ou 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 ou null
database: PostgreSQL, or MySQL (also MariaDB). Null for the other types.
Une valeur parmi : postgresmysql
db_namestring ou null
database: the database signed in to; empty for the server's default. Null for the other types.
db_userstring ou null
database: the user who signs in. Null for the other types.
db_tlsstring ou null
database: always encrypted; verify checks the certificate, no_verify accepts a self-signed one. Null for the other types.
Une valeur parmi : verifyno_verify
db_querystring ou 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 ou 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.
Une valeur parmi : dnsntpsourcebedrockcustom
udp_payloadstring ou null
udp, custom: the request as typed (text, or hex digits). Null otherwise.
udp_formatstring ou null
udp, custom: how udp_payload is written. Null otherwise.
Une valeur parmi : texthex
udp_expectstring ou 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).
Une valeur parmi : noneoffpendingokunpublishednot_foundfailed
created_atdate et heure
When the monitor was created
updated_atdate et heure
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.

Une valeur parmi : 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)
Une valeur parmi : 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.
Une valeur parmi : 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 ou 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
uptimeobjet
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 ou null
Average time of the passed checks in the last 24 hours, in milliseconds
checksliste de Check
Checks of the last 24 hours, newest first, at most 500
placesliste de PlaceSummary
The places that checked this monitor in the last 24 hours, with their numbers. The main server comes first.
incidentsliste de Incident
This monitor's incidents, open one first, at most 20

Uptime

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

Check

checked_atdate et heure
When the check ran
okboolean
Whether the check passed
status_codeinteger ou null
HTTP status of the answer. Null when no answer came.
response_msinteger
How long the check took, in milliseconds
errorCheckError ou null
Why the check failed. Null when it passed.
failed_checkinteger ou 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 ou null
Average time of its passed checks, in milliseconds. Null when none passed.
last_checked_atdate et heure
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_atdate et heure
The first failed check
resolved_atdate et heure ou null
When the monitor was up again. Null while the incident is open.
status_codeinteger ou null
HTTP status of the failed check. Null when no answer came.
failed_checkinteger ou null
api: the number of the check on the answer that failed. Null otherwise.
placesliste de 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_atdate et heure ou 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 ou null
Why it failed there. Null when it passed.
status_codeinteger ou null
HTTP status seen there. Null when no answer came.
response_msinteger
How long the check took there, in milliseconds
failed_checkinteger ou null
api: the number of the check on the answer that failed there. Null otherwise.

MonitorStats

statusstring
The monitor's status now
Une valeur parmi : pendingupdown
status_sincedate et heure ou null
Since when it has this status. Null while pending.
sla_targetnumber ou null
The availability goal in percent. Null when none is set.
periodsobjet
The last 24 hours (day), 7 days (week), 30 days (month) and 365 days (year)
periods.dayAvailability
periods.weekAvailability
periods.monthAvailability
periods.yearAvailability
rangeobjet
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 ou 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 ou null
Mean time between failures. Null without incidents.
range.mttr_secondsinteger ou 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 ou null
Whether the range reached the availability goal. Null without a goal.
daysliste de objet
The last 365 days (UTC), oldest first
recentliste de Slot
The last 6 hours in 72 slots of 5 minutes, oldest first. A slot without checks has 0 checks.

Availability

percentnumber ou 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 ou null
Mean time between failures: the time up divided by the incidents. Null without incidents.
mttr_secondsinteger ou null
Mean time to repair: the average length of the incidents that ended. Null when none ended.

Slot

atdate et heure
The start of the slot
checksinteger
Checks in the slot
failedinteger
Of those, the checks that failed
average_msinteger ou null
Average time of the passed checks, in milliseconds. Null when none passed.
min_msinteger ou null
The fastest passed check
max_msinteger ou null
The slowest passed check
errorCheckError ou null
The most common reason of the failed checks. Null when none failed.
status_codeinteger ou null
The most common HTTP status of the failed checks
phasesPhases ou null
The average steps of the passed web checks. Null for other checks and without an answer.
speed_mbpsnumber ou 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
Une valeur parmi : 1h6h24h7d30d
step_secondsinteger
The length of one slot, in seconds
slotsliste de 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 ou null
Average time of the passed checks, in milliseconds. Null when none passed.
min_msinteger ou null
The fastest passed check
max_msinteger ou null
The slowest passed check
p95_msinteger ou null
95 % of the passed checks were at least this fast
phasesPhases ou null
The average steps of the passed web checks. Null for other checks.
speedSpeed ou 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 ou null
How much it varies: the standard deviation as a share of the average. Null with one check.

Acknowledged

acknowledged_atdate et heure
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 de objet
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 de StatusPageService
The monitors the page shows, in order
created_atdate et heure
When it was created
updated_atdate et heure
When its settings last changed
custom_domainstring ou 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
Une valeur parmi : nonewaitingconnected
domain_errorstring ou null
Why a waiting domain is not served yet: it has no DNS records, or they point somewhere else
Une valeur parmi : dns_not_founddns_elsewherenull
domain_checked_atdate et heure ou 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 ou null
Changes with the logo; null without one
accent_colorstring ou 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
Une valeur parmi : 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
Une valeur parmi : investigatingidentifiedmonitoringresolved
resolved_atdate et heure ou null
When it was resolved; null while it is open
created_atdate et heure
When it was posted
updatesliste de objet
Newest first

StatusMaintenance

idstring
The maintenance's ID
titlestring
Its title, as the public reads it
bodystring
Its message; may be empty
starts_atdate et heure
When the work starts
ends_atdate et heure
When it ends
statestring
It follows from the clock
Une valeur parmi : 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.
Une valeur parmi : 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_atdate et heure ou null
When the next report must have come. For a heartbeat that is late: when it became late.
last_ping_atdate et heure ou null
The last report of success
last_started_atdate et heure ou null
When the job last said it started (/start)
last_failed_atdate et heure ou null
When the job last reported a failure (/fail)
last_outputstring
What the job sent with its last report. Empty in a list.
created_atdate et heure
When it was created
updated_atdate et heure
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_atdate et heure
When it opened
resolved_atdate et heure ou null
When it ended; null while it is open
causestring
late: no report in time. failed: the job said so.
Une valeur parmi : latefailed
acknowledged_atdate et heure ou 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 de string
At most 10, lowercase
statestring
new: the agent never reported; online: it reported in the last 3 minutes; offline: not since
Une valeur parmi : 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 ou null
Null before the first report
memory_bytesinteger ou null
The memory size; null before the first report
boot_atdate et heure ou null
When the server last started
agent_versionstring
The agent's version, such as 1.3.0
last_report_atdate et heure ou null
The agent's last report; null before the first
token_prefixstring
The start of the token, to recognise it
created_atdate et heure
When it was added
open_alertsinteger
How many alerts of the server are open
nowobjet ou null
The newest minute, in the list only
now.atdate et heure
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
latestobjet ou null
The newest minute in full; null before the first report
latest.atdate et heure
The minute
latest.cpu_percentnumber
All cores together, 0 to 100
latest.loadliste de 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 de AgentDisk
The real filesystems of the newest report
processesliste de AgentProcess
The busiest processes of the newest report, by name only
uninstallstring
The command that takes the agent off the server
incidentsliste de 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_atdate et heure
When it opened
resolved_atdate et heure ou null
When it ended; null while it is open
causestring
The rule's metric; silent: the server stopped reporting
Une valeur parmi : cpumemoryswapdiskloadsilent
alertobjet
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 ou null
The value when the alert opened
alert.ping_answeredboolean ou 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_atdate et heure ou 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

atdate et heure
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_atdate et heure
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 de 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.

Une valeur parmi : monitors:readmonitors:createmonitors:updatemonitors:deletereports:readincidents:acknowledgeheartbeats:readheartbeats:createheartbeats:updateheartbeats:deleteservers:readservers:createservers:updateservers:deletestatus_pages:readstatus_pages:postsource_maps:upload