---
title: "Download commits DB"
method: GET
path: "/api/repos/{namespace}/{repo_name}/commits_db"
tags: ["Commits"]
---

# Download commits DB

`GET /api/repos/{namespace}/{repo_name}/commits_db`

## Request

- Base URL: `https://hub.oxen.ai`
- URL: `https://hub.oxen.ai/api/repos/{namespace}/{repo_name}/commits_db`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/oxen/apis/oxen-server/docs/api/repos/:namespace/:repo_name/commits_db/get.ts> (a function with typed inputs; its response is checked against the schema)

Download the commits database as a compressed tarball for cloning.

## Path parameters

- `namespace` string, required
- `repo_name` string, required

## Response `200`

Tarball of commits DB

## Other responses

- `404`: Repository not found

---

[API](https://skmtc.dev/oxen/apis/oxen-server.md) - [All operations](https://skmtc.dev/oxen/apis/oxen-server/llms.txt) - [OpenAPI document](https://skmtc.dev/oxen/apis/oxen-server/revisions/2ae578129949?raw)
