Skip to main content
GET
/
api
/
repos
/
{namespace}
/
{repo_name}
/
export
/
download
/
{resource}
cURL
curl --request GET \
  --url https://hub.oxen.ai/api/repos/{namespace}/{repo_name}/export/download/{resource} \
  --header 'Authorization: Bearer <token>'

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

resource
string
required

Path to directory and branch/commit (e.g. main/data)

Response

Zip archive of the directory