Fleet

Get the Docker label inventory for the active node

Changed on

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

Request

  • Base URL
    https://localhost:1852
  • URL
    https://localhost:1852/api/system/container-labels
  • Auth
    HTTP bearer

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

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      endpoint added