Status Page

Change a monitor of a target outside Temps

Changed on

Fields left out keep their value. request replaces every header and the body. Changing the check may change its kind; the target must fit it.

patch/projects/{project_id}/monitors/{monitor_id}/target

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

project_idinteger required

Project ID

monitor_idinteger required

Monitor ID

Request body

check_interval_secondsinteger nullable
is_activeboolean nullable

false pauses the monitor.

namestring nullable
probe_from_nodesboolean nullable

Check from worker nodes too, or from the control plane only.

targetstring nullable

Response

Monitor updated

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