---
title: "Get the labels of the pods in the specified namespace from Kubernetes cluster."
method: GET
path: "/common/labels"
tags: ["common"]
---

# Get the labels of the pods in the specified namespace from Kubernetes cluster.

`GET /common/labels`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/common/labels`
- Auth: none declared

Get the labels of the pods in the specified namespace from Kubernetes cluster.

## Query parameters

- `podNamespaceList` string, required

## Response `200`

OK

- GithubComChaosMeshChaosMeshPkgDashboardApiserverUtilsMapStringSliceResponse

## Other responses

- `500`: Internal Server Error

---

[API](https://skmtc.dev/chaos-mesh/apis/chaos-mesh-dashboard-api.md) - [All operations](https://skmtc.dev/chaos-mesh/apis/chaos-mesh-dashboard-api/llms.txt) - [OpenAPI document](https://skmtc.dev/chaos-mesh/apis/chaos-mesh-dashboard-api/revisions/2d6f9ed9cc7f?raw)
