---
title: "List missing files from commits"
method: GET
path: "/api/repos/{namespace}/{repo_name}/commits/missing_files"
tags: ["Commits"]
---

# List missing files from commits

`GET /api/repos/{namespace}/{repo_name}/commits/missing_files`

## Request

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

List files that are referenced in a commit but not present on the server. Accept a commit range.

## Path parameters

- `namespace` string, required
- `repo_name` string, required
- `base` string, nullable, required
- `head` string, required

## Response `200`

List of missing file entries

- ListCommitEntryResponse
  - `oxen_version` string, nullable
  - `status` string, required
  - `status_message` string, required
  - `entries` CommitEntry[], required
    - `commit_id` string, required
    - `hash` string, required
    - `last_modified_nanoseconds` integer, required
    - `last_modified_seconds` integer, required
    - `num_bytes` integer, required
    - `path` string, required

## Other responses

- `404`: Repository or commit 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)
