Skip to main content
GET
/
api
/
repos
/
{namespace}
/
{repo_name}
Get repository details
curl --request GET \
  --url https://hub.oxen.ai/api/repos/{namespace}/{repo_name} \
  --header 'Authorization: Bearer <token>'
{
  "repository": {
    "data_types": [
      {
        "count": 1000,
        "data_type": "image"
      },
      {
        "count": 5,
        "data_type": "tabular"
      }
    ],
    "is_empty": false,
    "name": "my-corn-pics",
    "namespace": "bessie",
    "size": 1074288000
  },
  "status": "success",
  "status_message": "resource_found"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

namespace
string
required

Namespace of the repository

repo_name
string
required

Name of the repository

Response

Repository details

repository
object
required
Example:
{
"data_types": [
{ "count": 1000, "data_type": "image" },
{ "count": 5, "data_type": "tabular" }
],
"is_empty": false,
"name": "my-corn-pics",
"namespace": "bessie",
"size": 1073741824
}
status
string
required
status_message
string
required