Status Page

Update a monitor's name, check interval or check path

Changed on

Fields left out keep their stored value; at least one is required. The monitor keeps its ID and uptime history. check_interval_seconds is clamped like on create (minimum 30). Changing check_path discards probe results still in flight for the old path.

patch/monitors/{monitor_id}

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

monitor_idinteger required

Monitor ID

Request body

check_interval_secondsinteger nullable

How often to probe, in seconds. Clamped, not rejected, exactly like on create: values below 30 are stored as 30 and non-positive values as 60, and the response reports the stored value.

check_pathstring nullable

Path probed on the monitored environment; must start with /.

namestring nullable

Display name; 1 to 255 characters after trimming.

Example request

{
  "check_interval_seconds": 60,
  "check_path": "/health",
  "name": "API health"
}

Response

Monitor updated successfully

check_interval_secondsinteger required
check_kind'environment' | 'http' | 'tcp' | 'tls' | 'dns' required

environment for a monitor of a Temps environment, otherwise the check run against check.target (ADR 108 D3, D4).

check_pathstring nullable
created_atstring date-time required
environment_idinteger nullable
idinteger required
is_activeboolean required
is_managedboolean required

Temps-managed HTTP monitor; independent monitors remain visible for workers.

monitor_typestring required
monitor_urlstring required
namestring required
next_check_atstring date-time nullable

When the scheduler will next probe this monitor. Read-only: it is maintained by the health-check scheduler, never accepted on write. null means the monitor has not been scheduled yet and is due on the next sweep.

probe_from_nodesboolean required

Also checked from worker nodes; down only when most locations agree (ADR 108 D5).

project_idinteger required
updated_atstring date-time required

Changes

    • info

      added the new optional request property check_interval_seconds

    • info

      added the new optional request property name

    • info

      the request property check_path became nullable

    1 more change in this revision