---
title: "Get Namespaces"
method: GET
path: "/api/v1/namespaces"
---

# Get Namespaces

`GET /api/v1/namespaces`

Returns namespaces accessible to the user. Cluster admins receive all non-system
namespaces. Regular users receive only OpenShift projects they can access. System
namespaces (for example `openshift-*`, `kube-*`, `default`, `opendatahub`) are excluded.

## Response `200`

List of namespaces

- object
  - `data` Namespace[]
    - `name` string
    - `displayName` string

## Other responses

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

---

[API](https://skmtc.net/opendatahub-io/apis/maas-bff-api.md) · [All operations](https://skmtc.net/opendatahub-io/apis/maas-bff-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/opendatahub-io/maas-bff-api/revisions/9112415ceeca/schema)
