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

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

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

List commits from the GitHub repo backing a `provider: github` DocsProject

## Path parameters

- `uid` string, required

## Query parameters

- `branch` string
- `page` number, required
- `perPage` number, required

## Response `200`

Default Response

- object[]
  - `sha` string, required
  - `message` string, required
  - `authorName` string, required
  - `authorEmail` string, required
  - `timestamp` number, required

## Other responses

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

## Changes

- **2026-08-07** `8dff1e93bc68` — 1 info
  - api operation id `getgithubDocsProjectUidCommits` removed and replaced with `getGithubDocsProjectUidCommits`

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

---

[API](https://skmtc.dev/scalar/apis/core.md) · [All operations](https://skmtc.dev/scalar/apis/core/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/scalar/core/revisions/4efa9fcf5c1e/schema)
