---
title: "Get"
method: GET
path: "/git_commits/{git_commit_id}"
tags: ["Git Commits"]
---

# Get

`GET /git_commits/{git_commit_id}`

Retrieve a git commit by ID.

## Path parameters

- `git_commit_id` string, required

## Response `200`

Successfully retrieved the git commit.

- GitCommit
  - `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)
