---
title: "List distinct label keys observed across the team's containers."
method: GET
path: "/containers/labels"
tags: ["containers"]
---

# List distinct label keys observed across the team's containers.

`GET /containers/labels`

Requires the privilege [`CLIENTS_READ`](https://www.gremlin.com/docs/user-management/access-control/#privileges)

## Query parameters

- `teamId` string, required

## Response `default`

default response

- LabelKeysResponse
  - `labelKeys` string[]

## Other responses

- `401` — Authorization header missing or malformed. Please provide proper credentials in the authorization header.
- `403` — User requires privilege for target team: CLIENTS_READ

---

[API](https://skmtc.net/gremlin/apis/gremlin-api.md) · [All operations](https://skmtc.net/gremlin/apis/gremlin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gremlin/gremlin-api/revisions/c6a54006c14b/schema)
