Skip to main content
Infrastructure/Agents

ListLabelKeys

List all distinct label keys currently in use across agents

GET/api/v1/agent/labels/keys

Operation ID

ListLabelKeys

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: item1,item2

  • total
    Integer

    Total number of distinct label keys found

    Example: 15

  • limit
    Integer

    Maximum number of keys returned

    Example: 100

  • offset
    Integer

    Number of keys skipped for pagination

    Example: 20