---
title: "GET /github/docs-project/{uid}/commits/{sha}/files"
method: GET
path: "/github/docs-project/{uid}/commits/{sha}/files"
tags: ["github"]
---

# GET /github/docs-project/{uid}/commits/{sha}/files

`GET /github/docs-project/{uid}/commits/{sha}/files`

## Request

- Base URL: `https://api.scalar.com/core`
- URL: `https://api.scalar.com/core/github/docs-project/{uid}/commits/{sha}/files`
- Auth: HTTP bearer

List the files a commit changed on the GitHub repo backing a `provider: github` DocsProject

## Path parameters

- `uid` string, required
- `sha` string, required

## Response `200`

Default Response

- object[]
  - `filepath` string, required
  - `status` 'added' | 'modified' | 'deleted' | 'renamed', required
  - `previousFilepath` string

## Other responses

- `400`: Bad request
- `401`: No auth
- `403`: Forbidden
- `404`: Not found
- `422`: Invalid payload
- `500`: Uncaught error

## Changes

- **2026-10-16** `521ea962739f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/scalar/apis/core/changes/github/docs-project/:uid/commits/:sha/files/get.md)

---

[API](https://skmtc.dev/scalar/apis/core.md) - [All operations](https://skmtc.dev/scalar/apis/core/llms.txt) - [OpenAPI document](https://skmtc.dev/scalar/apis/core/revisions/b3aa8493faa8?raw)
