---
title: "List"
method: GET
path: "/git_commits"
tags: ["Git Commits"]
---

# List

`GET /git_commits`

List git commits.

## Query parameters

- `offset` integer
- `limit` integer
- `order_by` GitCommitOrderBy[]
- `expand` GitCommitListExpansion[]
- `id` string[]
- `sha` string[]

## Response `200`

Successfully listed the git commits.

- GitCommitList
  - `object` 'list', required — The object type, which is always `list`.
  - `total_count` integer — The total number of items in the list. By default the total count is not returned. The total count must be expanded (using expand=total_count) to get the total number of items in the list.
  - `limit` integer, required — The maximum number of items to return. A limit of 15 with an offset of 0 returns items 1-15.
  - `offset` integer, required — The offset of the items to return. An offset of 10 with a limit of 10 returns items 11-20.
  - `has_more` boolean, required — True if there are more items in the list to return. False if there are no more items to return.
  - `data` GitCommit[], required — The list of git commits.
    - `object` 'git_commit', required — The object type, which is always `git_commit`.
    - `id` string, required — ID of the git commit.
    - `sha` string, required — The SHA hash of the git commit.
    - `message` string, required — The commit message.
    - `repository_owner` string, required — The owner of the git repository.
    - `repository_name` string, required — The name of the git repository.
    - `repository_type` 'github' | 'gitlab' | 'bitbucket', required
    - `repository_url` string, required — The URL of the git repository.
    - `commit_url` string, required — The URL of the git commit.
    - `created_at` string, date-time, required — Timestamp of when the git commit was created.

---

[API](https://skmtc.net/mirurobotics/apis/miru-api.md) · [All operations](https://skmtc.net/mirurobotics/apis/miru-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mirurobotics/miru-api/versions/cd84166b2b52/schema)
