Skip to content

Read every system's health verdict

GET
/systems:health
curl --request GET \
--url https://example.com/api/v1/systems:health

The current verdict for every system in the caller’s read scope, in one call: the bulk counterpart of the per-system health read, carrying the one fact a list’s health column renders and none of the explanation. A console painting a page of systems reads this once instead of resolving every role, occupant, alarm and transition per row. A system that has never been recomputed reads healthy. Gated by system:read; an empty scope is an empty list, not a 403.

OK

Media type application/json
object
$schema

A URL to the JSON Schema for this object.

string format: uri
verdicts
required

One entry per system in the caller’s read scope, in no particular order.

Array<object> | null
object
system
required

The system’s uuid

string
verdict
required

Healthy, degraded, or outage

string
Example
{
"$schema": "/api/v1/schemas/SystemVerdictsOutputBody.json"
}

Error

Media type application/problem+json
object
$schema

A URL to the JSON Schema for this object.

string format: uri
detail

A human-readable explanation specific to this occurrence of the problem.

string
errors

Optional list of individual error details

Array<object> | null
object
location

Where the error occurred, e.g. ‘body.items[3].tags’ or ‘path.thing-id’

string
message

Error message text

string
value

The value at the given location

instance

A URI reference that identifies the specific occurrence of the problem.

string format: uri
status

HTTP status code

integer format: int64
title

A short, human-readable summary of the problem type. This value should not change between occurrences of the error.

string
type

A URI reference to human-readable documentation for the error.

string format: uri
default: about:blank
Example
{
"$schema": "/api/v1/schemas/ErrorModel.json",
"detail": "Property foo is required but is missing.",
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "about:blank"
}