---
title: "list k8s namespaces"
method: GET
path: "/api/v1/cluster/namespaces"
tags: ["Cluster"]
---

# list k8s namespaces

`GET /api/v1/cluster/namespaces`

list k8s namespaces

## Response `200`

OK

- object
  - `data` ResponseNamespace[], required
    - `namespace` string, required
    - `status` string, required
  - `message` string, required
  - `successful` boolean, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

---

[API](https://skmtc.dev/oceanbase/apis/oceanbase-dashboard-api.md) · [All operations](https://skmtc.dev/oceanbase/apis/oceanbase-dashboard-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/oceanbase/oceanbase-dashboard-api/revisions/fa579fa6f72d/schema)
