Every node with its observed identity — serial number, OS version, `sysName` — one keyset page at a time, ordered by node id (ADR-249).
const url = 'https://example.com/api/v1/nodes/inventory';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/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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”next_cursor from the previous page; absent for the first.
Page size, 1–500 (default 100).
Responses
Section titled “Responses”One keyset page of nodes with their serial number and OS version
One keyset page of the inventory read.
object
Pass back as cursor for the next page; null ⇒ this was the last one.
One node in the inventory read (ADR-249): who it is and what it reported about itself.
object
The node’s address. 0.0.0.0 (or ::) means the node has none (see NodeSummary.address).
The node’s folder; null ⇒ ungrouped.
Stable identifier for a monitored node.
A UUID, not a name or address — both of which can change over a node’s life.
What this node is, resolved the way GET /api/v1/nodes resolves it.
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.
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.
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.
The state the node list shows for it.
The name the device gives itself (sysName); null ⇒ not read yet.
Example
{ "nodes": [ { "kind": "wireless_ap", "state": "ok" } ]}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" }}Too many inventory reads in flight — retry shortly (list_busy), or this deployment has no inventory store
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" }}