---
title: "Changes to Check if a commit exists in a repository"
method: GET
path: "/repository/{repository_id}/commits/{commit_sha}"
---

# Changes to Check if a commit exists in a repository

`GET /repository/{repository_id}/commits/{commit_sha}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 383 revisions.

- **2026-07-27** `1b060c0a4ba3`: 4 info

## Changes

- **2026-07-27** `1b060c0a4ba3`: 4 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `429`
  - added the non-success response with the status `502`
  - added the optional property `commit` to the response with the `200` status

---

[Operation](https://skmtc.dev/gotempsh/apis/temps/docs/repository/:repository_id/commits/:commit_sha/get.md) - [API](https://skmtc.dev/gotempsh/apis/temps.md) - [Page](https://skmtc.dev/gotempsh/apis/temps/changes/repository/:repository_id/commits/:commit_sha/get)
