v34

latestOpenAPI 3.1.0AGPL-3.0-onlyraw.githubusercontent.com2026-08-018932140.9 KB
Fleet

Get the Docker label inventory for the active node

Returns every container on the node with its labels and provenance (compose, image, runtime, compose-system, or unknown), plus an inverted byLabel index. Marks partial when a container or image inspect fails. Secret-like values are redacted unless the caller is an admin and passes reveal=1. Requires node:read permission.

get/api/system/container-labels

Query parameters

reveal'1' | 'true'

Headers

x-node-idinteger
Example:1

Target a specific node by ID. If omitted, the default node is used. Can also be passed as ?nodeId= query parameter.

Response

Node container label inventory.

nodeIdinteger required
partialboolean required
generatedAtinteger required