---
title: "List repositories"
method: GET
path: "/api/repos/{namespace}"
tags: ["Repositories"]
---

# List repositories

`GET /api/repos/{namespace}`

## Request

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

List all repositories in a namespace.

## Path parameters

- `namespace` string, required

## Response `200`

List of repositories

- ListRepositoryResponse
  - `oxen_version` string, nullable
  - `status` string, required
  - `status_message` string, required
  - `repositories` RepositoryListView[], required
    - `min_version` string, nullable
    - `name` string, required
    - `namespace` string, required

## Other responses

- `400`: Namespace is not a single path segment
- `404`: Namespace not found

---

[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)
