---
title: "List available Kubernetes namespaces"
method: GET
path: "/v1/kubernetes/namespaces"
tags: ["Kubernetes"]
---

# List available Kubernetes namespaces

`GET /v1/kubernetes/namespaces`

Returns all namespaces available in the Kubernetes cluster

## Response `200`

List of K8s namespaces

- Response
  - `success` boolean
  - `data` object
  - `error` ErrorInfo
    - `code` string
    - `message` string
  - `meta` MetaInfo
    - `count` integer
    - `timestamp` string, date-time

## Other responses

- `401` — Missing or invalid API key

---

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