---
title: "Get a commit version"
method: GET
path: "/commits/{commitId}"
tags: ["commits"]
---

# Get a commit version

`GET /commits/{commitId}`

Returns the details of a commit version

## Path parameters

- `commitId` string, required — Commit ID

## Headers

- `Authorization` string, required
- `X-Disable-Hooks` 'true', required

## Response `200`

Response with status 200

- TypeCommitsCommitResponse
  - `data` TypeCommitsCommit, required — A commit version
    - `id` string, required — Commit ID
    - `sheetId` string, required — Sheet ID
    - `createdBy` string, required — The actor (user or system) who created the commit
    - `completedBy` string — The actor (user or system) who completed the commit
    - `createdAt` string, date-time, required — The time the commit was created
    - `completedAt` string, date-time — The time the commit was acknowledged

## Other responses

- `400` — Error response with status 400
- `404` — Error response with status 404

---

[API](https://skmtc.net/flatfile/apis/api-reference.md) · [All operations](https://skmtc.net/flatfile/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/flatfile/api-reference/revisions/9d3a9979cd96/schema)
