cURL
curl --request GET \ --url https://hub.oxen.ai/api/repos/{namespace}/{repo_name}/stats \ --header 'Authorization: Bearer <token>'
{ "repository": { "data_size": 1074288000, "data_types": [ { "data_size": 524288000, "data_type": "image", "file_count": 500 }, { "data_size": 550000000, "data_type": "tabular", "file_count": 5 } ] }, "status": "success", "status_message": "resource_found" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Namespace of the repository
Name of the repository
Repository statistics
Show child attributes
{ "data_size": 1074288000, "data_types": [ { "data_size": 524288000, "data_type": "image", "file_count": 500 }, { "data_size": 550000000, "data_type": "tabular", "file_count": 5 } ]}