Skip to main content
GET
/
api
/
repos
/
{namespace}
/
{repo_name}
/
size
Get repository size
curl --request GET \
  --url https://hub.oxen.ai/api/repos/{namespace}/{repo_name}/size \
  --header 'Authorization: Bearer <token>'
1

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 size in bytes

The response is of type integer<int64>.

Required range: x >= 0