---
title: "GET /repos/{repo_id}/commits"
method: GET
path: "/repos/{repo_id}/commits"
tags: ["Repository Commit Manipulation"]
---

# GET /repos/{repo_id}/commits

`GET /repos/{repo_id}/commits`

Get a list of commits

## Query parameters

- `ref_ids` string[]
- `limit` integer
- `skip` integer
- `query` string

## Response `200`

Success

- object
  - `object` 'Commit', required
  - `items` Commit[], required
    - `commit_id` string, required
    - `created_ts` integer, required — Seconds since epoch UTC
    - `commit_message` string
    - `branch_id` string, required — The branch on which this commit was created
    - `author` User, required — User details
      - `image` string — URL of the user image. If updating the image, could be a base64 encoded image.
      - `email` string, email
      - `full_name` string
      - `id` string, required
      - `name` string
      - `tier` 'EDUCATION' | 'INDIE' | 'PROFESSIONAL' | 'ENTERPRISE' | 'UNKNOWN' — The tier of the user
    - `parents` string[], required — List of parent commits of this commit

## Other responses

- `default` — An error occurred

---

[API](https://skmtc.net/diversion/apis/diversion-core-api.md) · [All operations](https://skmtc.net/diversion/apis/diversion-core-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/diversion/diversion-core-api/revisions/38a18aba804b/schema)
