---
title: "Get a commit"
method: GET
path: "/v1/projects/{slug}/commits/{hash}"
tags: ["versioning"]
---

# Get a commit

`GET /v1/projects/{slug}/commits/{hash}`

## Request

- Base URL: `https://innernet.live/api`
- URL: `https://innernet.live/api/v1/projects/{slug}/commits/{hash}`
- Auth: HTTP bearer

One commit with its full diff payload (capture content, merge diffs).

## Path parameters

- `slug` string, required
- `hash` string, required

## Response `200`

The commit

## Other responses

- `404`: Error

---

[API](https://skmtc.dev/innernet/apis/innernet-api.md) · [All operations](https://skmtc.dev/innernet/apis/innernet-api/llms.txt) · [OpenAPI document](https://skmtc.dev/innernet/apis/innernet-api/revisions/1ee09aec71a9?raw)
