コンテンツにスキップ

How many of the caller's nodes are not being watched — their pool has no live poller, or they have reported nothing recently.

GET
/api/v1/fleet/watch
curl --request GET \
--url https://example.com/api/v1/fleet/watch \
--header 'Authorization: Bearer <token>'

Counts of the caller’s nodes that are not being watched, by reason

Media typeapplication/json

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
no_live_poller
required

Nodes polled through a pool that has no live poller. Their jobs are published to nobody.

integer
no_recent_data
required

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.

integer
pollers_known
required

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.

boolean
pool_polled
required

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.

integer
Examplegenerated
{
"no_live_poller": 1,
"no_recent_data": 1,
"pollers_known": true,
"pool_polled": 1
}

No valid bearer token

Media typeapplication/json

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
error
required
object
code
required

Stable machine-readable code. Clients branch on this, never on the message.

string
message
required

Operator-facing sentence. Safe to display; never carries an internal error’s own text.

string
Examplegenerated
{
"error": {
"code": "example",
"message": "example"
}
}

Role lacks the view permission

Media typeapplication/json

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
error
required
object
code
required

Stable machine-readable code. Clients branch on this, never on the message.

string
message
required

Operator-facing sentence. Safe to display; never carries an internal error’s own text.

string
Examplegenerated
{
"error": {
"code": "example",
"message": "example"
}
}

Skeleton mode has no inventory to count

Media typeapplication/json

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
error
required
object
code
required

Stable machine-readable code. Clients branch on this, never on the message.

string
message
required

Operator-facing sentence. Safe to display; never carries an internal error’s own text.

string
Examplegenerated
{
"error": {
"code": "example",
"message": "example"
}
}