Status Page

Monitor a target outside Temps

Changed on

Checks a URL (http), a port (tcp), a TLS certificate (tls) or a DNS record (dns) that is not a Temps environment. The target must have a public address. The first check runs within about 15 seconds.

post/projects/{project_id}/monitors/targets

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

Request body

check_interval_secondsinteger nullable

How often to check, in seconds (default 60, at least 30).

namestring required

Shown in the console and, unless renamed there, on status pages.

probe_from_nodesboolean

Also check from up to four online worker nodes, and count the monitor down only when most locations agree (ADR 108 D5).

targetstring required

What to check: a URL (http), host:port (tcp, tls; tls defaults to 443) or a host name (dns). It must have a public address.

Response

Monitor created

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