---
title: "List containers"
method: GET
path: "/api/v1/k8s/logs/containers"
tags: ["K8s Cluster Info"]
---

# List containers

`GET /api/v1/k8s/logs/containers`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/api/v1/k8s/logs/containers`
- Auth: none declared

List all containers within a specified pod in a given cluster and namespace

## Query parameters

- `clusterId` string, required
- `namespace` string, required
- `pod` string, required

## Response `200`

List of container names

- string[]

## 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)
