Skip to content

Read a location's health

GET
/locations/{name}/health
curl --request GET \
--url 'https://example.com/api/v1/locations/example/health?since=2026-11-01T00%3A00%3A00Z&until=2026-11-23T00%3A00%3A00Z'

The location’s current health, worst-wins over every system placed anywhere beneath it, with those systems and their health as the drill-down (the system health read names the slot, which occupant is down, and the alarm). Transitions are the recorded edges inside since..until (default the last 30 days); since after until is a 400. Gated by location:read; an out-of-scope location is a non-disclosing 404.

name
required

The location’s name, or a dotted address (e.g. boi.17c.415a)

string

The location’s name, or a dotted address (e.g. boi.17c.415a)

since

Only the transitions recorded at or after this RFC 3339 time. Defaults to 30 days before until, or before now when until is absent

string format: date-time

Only the transitions recorded at or after this RFC 3339 time. Defaults to 30 days before until, or before now when until is absent

until

Only the transitions recorded at or before this RFC 3339 time. Defaults to now; must not be earlier than since

string format: date-time

Only the transitions recorded at or before this RFC 3339 time. Defaults to now; must not be earlier than since

OK

Media type application/json
object
$schema

A URL to the JSON Schema for this object.

string format: uri
carried_in

The health in force when the range opened: the last recorded edge before its start, whether the caller bounded the start (an explicit since, or the one derived from until) or the default window opened it. Absent when nothing was recorded before it. A timeline draws the stretch before the first transition from it, and uptime counts that stretch as it

string
first_recorded_at

When this owner’s health was first recorded; absent if never. How long it has been watched, whatever the range

string format: date-time
health
required

Healthy, incomplete, degraded, or outage: the rollup of the slots or systems served beside it. incomplete is a commissioning gap, a slot short because the hardware was never installed rather than because installed hardware is failing, and it ranks between healthy and degraded

string
members
required

Every member of a system with its own health, its open alarms, and whether it fills a slot; empty for a location

Array<object> | null
object
alarms
required

The member’s open alarms, newest first

Array<object> | null
object
acknowledged
required

Whether anybody has recorded seeing this alarm; says nothing about whether it is still raised

boolean
acknowledged_at

When a human first recorded seeing this alarm; null while nobody has. Independent of cleared_at

string format: date-time
acknowledged_by

Who acknowledged it, by name; empty while unacknowledged, or once that user has been purged (the audit log keeps the name)

string
component
required

The component the alarm is on, by name

string
component_id
required

The component’s uuid

string
id
required
string
instance

What a rule’s alarm is about within its component: the instance of the sample its rule judged, such as the endpoint a reachability alarm names. Two alarms of one rule on one component differ only here. Absent for a hand-raised alarm and for a rule that judges one series per component

string
message
required
string
raised_at
required
string format: date-time
severity
required
string
snoozed_by

Who snoozed the alarm, by name; empty while it is not snoozed, or once that user has been purged (the audit log keeps the name)

string
snoozed_until

Until when the alarm (by component and dedup_key) is snoozed: its notifications are written suppressed until then. Null while it is not snoozed. Independent of acknowledged and cleared_at

string format: date-time
health
required

The component’s own health: healthy, degraded or outage from its open alarms, or unknown when nothing has ever observed it

string
id
required

The component’s uuid

string
name
required
string
outside_slot
required

True when the member fills no slot in this system. Its open alarms are listed here and move nothing above the component: only a slot decides the system’s health (ADR-2459)

boolean
slot

The name of the slot the member fills in this system (as slots[].name); absent when outside_slot

string
owner
required
string
owner_kind
required
string
reason

A system’s health in words: the slots behind it, worst first (for example: slot display is impaired (0 of 1 occupying)), or that no slot is impaired. It never names a member outside a slot. Absent for a location

string
slots
required

The contributing slots; empty for a location

Array<object> | null
object
active
required

True for an unconditional slot, or a slot whose alternate is the one currently answering its choice. False means this slot’s own impaired/short/spare figures did not contribute to the system’s health

boolean
alarms
required

The active alarms on those down components

Array<object> | null
object
acknowledged
required

Whether anybody has recorded seeing this alarm; says nothing about whether it is still raised

boolean
acknowledged_at

When a human first recorded seeing this alarm; null while nobody has. Independent of cleared_at

string format: date-time
acknowledged_by

Who acknowledged it, by name; empty while unacknowledged, or once that user has been purged (the audit log keeps the name)

string
component
required

The component the alarm is on, by name

string
component_id
required

The component’s uuid

string
id
required
string
instance

What a rule’s alarm is about within its component: the instance of the sample its rule judged, such as the endpoint a reachability alarm names. Two alarms of one rule on one component differ only here. Absent for a hand-raised alarm and for a rule that judges one series per component

string
message
required
string
raised_at
required
string format: date-time
severity
required
string
snoozed_by

Who snoozed the alarm, by name; empty while it is not snoozed, or once that user has been purged (the audit log keeps the name)

string
snoozed_until

Until when the alarm (by component and dedup_key) is snoozed: its notifications are written suppressed until then. Null while it is not snoozed. Independent of acknowledged and cleared_at

string format: date-time
alternate

The alternate within choice this slot belongs to; absent when the slot is unconditional

string
assigned_to
required
Array<string> | null
choice

The choice this slot belongs to; absent when the slot is unconditional

string
down
required

The assigned components whose own health is outage; empty when the slot is merely short-staffed or only degraded

Array<string> | null
impact
required

What an impaired slot means for its system: outage, degraded, or none

string
impaired
required

True when satisfying is below quorum

boolean
label
required
string
name
required
string
quorum
required
integer format: int64
satisfying
required

How many assigned components currently occupy the slot (their own health is not outage; a degraded component still occupies)

integer format: int64
short
required

How many more occupants the slot needs to reach quorum, counting only those currently occupying (own health not outage); zero once it does. Diverges from the slots read’s understaffed when an assigned component is down

integer format: int64
spare
required

How many occupants the slot has beyond quorum; zero at or below quorum

integer format: int64
systems
required

The systems beneath a location with their health; empty for a system

Array<object> | null
object
health
required
string
id
required

The system’s id

string
label
required

The system’s display label

string
location
required

The dotted path of the location the system is placed at; empty when unplaced

string
name
required

The system’s short name; not unique across rooms, so address the system by path

string
path
required

The system’s dotted address, unique: the handle GET /systems/{name} resolves

string
transitions
required

The recorded edges over the window, oldest first: one entry per change, never a sample

Array<object> | null
object
health
required
string
ts
required
string format: date-time

Example

{
"$schema": "/api/v1/schemas/FleetHealthOutputBody.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"
}