---
title: "List namespaces"
method: GET
path: "/namespaces"
tags: ["namespaces"]
---

# List namespaces

`GET /namespaces`

Returns a list of all namespaces in the cluster.

## Response `200`

Successful namespaces response

- ApiNamespaceListEnvelope
  - `data` NamespacesNamespace[], required
    - `name` string, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal server error

---

[API](https://skmtc.dev/opendatahub-io/apis/kubeflow-notebooks-api.md) · [All operations](https://skmtc.dev/opendatahub-io/apis/kubeflow-notebooks-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/opendatahub-io/kubeflow-notebooks-api/revisions/97fe86faf733/schema)
