Skip to main content
Infrastructure/Agents

ListLabelTemplates

List all label templates stored in the system

GET/api/v1/agent/label-templates

Operation ID

ListLabelTemplates

Since

1.0.0

Execution Mode

Synchronous

Auth Context

Auth Required

Auth Context

Send these values as request headers when calling this API.

AuthorizationstringRequired

Bearer Token

X-Tenant-IDstring

X-Tenant-ID

Request Inputs

This API requires no request parameters.

Responses

200 OK
200 OK

On success, this API returns the following response structure.

  • items
    List

    Collection of result items

    Example: (nested array)

    • id
      String

      Unique identifier of the label template

      Example: tmpl-001-abc

    • name
      String

      Human-readable name of the label template

      Example: production-baseline

    • description
      String

      Description of the label template's intended usage

      Example: Standard labels for production agents

    • labels
      LinkedHashMap

      Key-value labels attached to this resource

      Example: (nested object)

    • createdAt
      String

      Created at

      Example: 2026-01-15T08:00:00Z

  • total
    Integer

    Total number of label templates available

    Example: 10

  • limit
    Integer

    Maximum number of templates returned

    Example: 20

  • offset
    Integer

    Number of templates skipped for pagination

    Example: 20