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

# List namespaces

`GET /api/namespaces`

## Request

- Base URL: `https://hub.oxen.ai`
- URL: `https://hub.oxen.ai/api/namespaces`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/oxen/apis/oxen-server/docs/api/namespaces/get.ts> (a function with typed inputs; its response is checked against the schema)

List all namespaces on the server.

## Response `200`

List of namespaces

- ListNamespacesResponse
  - `oxen_version` string, nullable
  - `status` string, required
  - `status_message` string, required
  - `namespaces` NamespaceView[], required
    - `namespace` string, required

---

[API](https://skmtc.dev/oxen/apis/oxen-server.md) - [All operations](https://skmtc.dev/oxen/apis/oxen-server/llms.txt) - [OpenAPI document](https://skmtc.dev/oxen/apis/oxen-server/revisions/2ae578129949?raw)
