Skip to main content
Infrastructure/Agents
GETAgentSince 1.0SynchronousAuth Required

ListLabelKeys

List all distinct label keys currently in use across agents

Execution Availability

Try It Out

Submit a mock request using the current auth context and example-driven inputs.

Request Inputs

This API requires no request parameters.

Responses

200 OK

On success, this API returns the following response structure.

  • itemsList

    Collection of result items

    Example: item1,item2

  • totalInteger

    Total number of distinct label keys found

    Example: 15

  • limitInteger

    Maximum number of keys returned

    Example: 100

  • offsetInteger

    Number of keys skipped for pagination

    Example: 20

Endpoint

GET/api/v1/agent/labels/keys

/api/v1/agent/labels/keys

Operation ID

ListLabelKeys

Permalink

Request Example

curl -X GET '{host}/api/v1/agent/labels/keys' -H 'Authorization: Bearer {token}'

Response Example

200
{
  "items": [],
  "total": 15,
  "limit": 100,
  "offset": 20
}

Change History

This API has no change history records yet.

View all change history