How many of the caller's nodes are not being watched — their pool has no live poller, or they have reported nothing recently.
const url = 'https://example.com/api/v1/fleet/watch';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/fleet/watch \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Counts of the caller’s nodes that are not being watched, by reason
How many of the caller’s nodes are not being watched right now, and why.
Counts only — no node names and no pool names, so it answers “is this quiet screen quiet because nothing is wrong?” without becoming a second inventory. Each node is counted once; the pool reason wins over the data reason.
object
Nodes polled through a pool that has no live poller. Their jobs are published to nobody.
Nodes with no liveness sample in the freshness window, not counted in no_live_poller. A
node inside a maintenance window is not counted: someone said it is being worked on.
Whether this core can see poller liveness. false on an HA standby, which runs no
coordinator: no_live_poller is then 0 because it is unknown, not because it is fine.
Of the caller’s nodes, how many are polled through a pool at all (Meraki devices are not).
no_live_poller == pool_polled and above zero means nothing the caller can see is polled.
Examplegenerated
{ "no_live_poller": 1, "no_recent_data": 1, "pollers_known": true, "pool_polled": 1}No valid bearer token
The ADR-019 envelope every failure renders as. pub(crate) and schema-bearing so the OpenAPI
document can name one error shape for every endpoint (ADR-035) instead of leaving 4xx/5xx bodies
undescribed — a client that has to guess the failure shape ends up parsing the success shape and
reading undefined.
object
object
Stable machine-readable code. Clients branch on this, never on the message.
Operator-facing sentence. Safe to display; never carries an internal error’s own text.
Examplegenerated
{ "error": { "code": "example", "message": "example" }}Role lacks the view permission
The ADR-019 envelope every failure renders as. pub(crate) and schema-bearing so the OpenAPI
document can name one error shape for every endpoint (ADR-035) instead of leaving 4xx/5xx bodies
undescribed — a client that has to guess the failure shape ends up parsing the success shape and
reading undefined.
object
object
Stable machine-readable code. Clients branch on this, never on the message.
Operator-facing sentence. Safe to display; never carries an internal error’s own text.
Examplegenerated
{ "error": { "code": "example", "message": "example" }}Skeleton mode has no inventory to count
The ADR-019 envelope every failure renders as. pub(crate) and schema-bearing so the OpenAPI
document can name one error shape for every endpoint (ADR-035) instead of leaving 4xx/5xx bodies
undescribed — a client that has to guess the failure shape ends up parsing the success shape and
reading undefined.
object
object
Stable machine-readable code. Clients branch on this, never on the message.
Operator-facing sentence. Safe to display; never carries an internal error’s own text.
Examplegenerated
{ "error": { "code": "example", "message": "example" }}