Skip to content

Every node with its observed identity — serial number, OS version, `sysName` — one keyset page at a time, ordered by node id (ADR-249).

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

For a script that reconciles this inventory against another system: the same fields GET /api/v1/nodes/{node_id} gives, for a whole page in one request. A wireless access point that has not been imported as a node is not listed; GET /api/v1/wireless/aps lists those.

cursor
string format: uuid

next_cursor from the previous page; absent for the first.

limit
integer format: int64

Page size, 1–500 (default 100).

One keyset page of nodes with their serial number and OS version

Media typeapplication/json

One keyset page of the inventory read.

object
next_cursor

Pass back as cursor for the next page; null ⇒ this was the last one.

string | null
nodes
required
Array<object>

One node in the inventory read (ADR-249): who it is and what it reported about itself.

object
address
required

The node’s address. 0.0.0.0 (or ::) means the node has none (see NodeSummary.address).

string
group_id

The node’s folder; null ⇒ ungrouped.

string | null format: uuid
id
required

Stable identifier for a monitored node.

A UUID, not a name or address — both of which can change over a node’s life.

string format: uuid
kind
required

What this node is, resolved the way GET /api/v1/nodes resolves it.

string
Allowed values: wireless_ap meraki url dns device
mac

The device’s MAC address, lower-case and colon-separated: for an imported wireless access point the one its controller reports, for a Meraki node the one the Dashboard lists. null on every other node, and when neither reported one.

string | null
model
string | null
name
required
string
os_version

The OS / software version the device last reported (ADR-138), and for an imported wireless access point the version its controller reports — the detail’s wireless.ap.sw_version. null ⇒ not known. Observed, so it can trail an upgrade.

string | null
serial_number

The serial number, as GET /api/v1/nodes/{node_id} gives it (ADR-147): what the device reported (a stack lists every member, joined with , ), else the serial of its Meraki binding — and for an imported wireless access point, the serial its controller reports. null ⇒ not known.

string | null
state
required

The state the node list shows for it.

string
Allowed values: ok warning critical unknown unreachable maintenance
sys_name

The name the device gives itself (sysName); null ⇒ not read yet.

string | null
vendor
string | null
Example
{
"nodes": [
{
"kind": "wireless_ap",
"state": "ok"
}
]
}

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"
}
}

Too many inventory reads in flight — retry shortly (list_busy), or this deployment has no inventory store

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"
}
}