Skip to main content
GET
/
api
/
namespaces
List namespaces
curl --request GET \
  --url https://hub.oxen.ai/api/namespaces \
  --header 'Authorization: Bearer <token>'
{
  "namespaces": [
    {
      "name": "my_namespace"
    },
    {
      "name": "oxen"
    }
  ],
  "status": "success",
  "status_message": "resource_found"
}
Namespaces are used to organize repositories into named groups. All repository APIs will start with /api/repos//.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

List of namespaces

status
string
required
status_message
string
required
namespaces
object[]
required
oxen_version
string | null