---
title: "List cluster pods"
method: GET
path: "/api/v1/k8s/logs/clusters/{cluster_id}/pods"
tags: ["K8s Cluster Pods"]
---

# List cluster pods

`GET /api/v1/k8s/logs/clusters/{cluster_id}/pods`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/api/v1/k8s/logs/clusters/{cluster_id}/pods`
- Auth: none declared

List all pods in a Kubernetes cluster, optionally filtered by namespace

## Path parameters

- `cluster_id` string, required

## Query parameters

- `namespace` string

## Response `200`

List of pods with details

- object

## Other responses

- `400`: Bad Request
- `500`: Internal Server Error

---

[API](https://skmtc.dev/nife/apis/nife-io-swagger-api.md) - [All operations](https://skmtc.dev/nife/apis/nife-io-swagger-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nife/apis/nife-io-swagger-api/revisions/6e868dc62795?raw)
