A node's collection items: its own overrides, or — with `?resolved=true` — the effective set after the profile's defaults are overridden by them. The resolved view is what the poller sees.
const url = 'https://example.com/api/v1/nodes/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/collection';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/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/collection \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Node id
Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”The node’s own stored items, or — with ?resolved=true — the effective set the poller sees, which carries no item ids
Default: the node’s own overrides, each with its id and scope.
A stored collection item with its id and scope, for the API (the scheduler ignores id).
object
Scalar GET vs table walk.
Gauge vs raw counter — rates/utilization are derived at query time (ADR-012), never by the poller.
Stable TSDB metric name (e.g. if_hc_in_octets). Bounded by convention to keep
label cardinality controlled — never a free-text/device-supplied value (ADR-011).
Dotted OID: a scalar instance OID ([CollectionKind::Scalar]) or a table column
base ([CollectionKind::Table], the walk root).
The scope a threshold is defined at, ordered least → most specific so the derived
Ord makes Node win over Group win over Profile.
?resolved=true: the effective set after profile defaults, as the poller sees it.
One thing to collect: a stable metric name, the OID to collect it from, how to collect it (scalar GET vs table walk), and whether it is a gauge or a raw counter.
object
Scalar GET vs table walk.
Gauge vs raw counter — rates/utilization are derived at query time (ADR-012), never by the poller.
Stable TSDB metric name (e.g. if_hc_in_octets). Bounded by convention to keep
label cardinality controlled — never a free-text/device-supplied value (ADR-011).
Dotted OID: a scalar instance OID ([CollectionKind::Scalar]) or a table column
base ([CollectionKind::Table], the walk root).
Example
[ { "kind": "scalar", "metric_kind": "gauge", "scope_level": "profile" }]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 ManageConfig
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" }}No such node (resolved view only)
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: no write side
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" }}