---
title: "Get cluster namespaces"
method: GET
path: "/api/v1/k8s/logs/clusters/{cluster_id}/namespaces"
tags: ["Clusters"]
---

# Get cluster namespaces

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

## Request

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

Retrieve all namespaces in a cluster

## Path parameters

- `cluster_id` string, required

## Query parameters

- `limit` integer
- `offset` integer

## Response `200`

OK

- object

---

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