---
title: "Get the names and statuses of files that changed since a commit"
method: GET
path: "/version/files"
tags: ["versioning"]
---

# Get the names and statuses of files that changed since a commit

`GET /version/files`

Get the names and statuses of files that changed since a commit. Default is the latest commit (HEAD).

## Query parameters

- `commit` string

## Response `200`

a list of GitFilesResponse objects

- CountedGitFilesResponse
  - `count` integer — number of items present in the items array
  - `items` GitFilesResponse[]
    - `commitMessage` object
    - `count` number, required
    - `items` GitFile[], required
      - `children` GitFile[]
      - `name` string, required
      - `state` string

## Other responses

- `401` — Unauthorized
- `500` — Unexpected error

## Changes

- **2026-03-06** `11df16b26c1d` — 1 warning
  - deleted the `query` request parameter `groupId`
- **2026-01-24** `84748faee3ef` — 1 warning
  - deleted the `query` request parameter `ID`
  - …this revision’s changelog is incomplete
- **2026-01-19** `62472462b0c0` — 1 warning
  - deleted the `query` request parameter `commit`
  - …this revision’s changelog is incomplete
- **2026-01-19** `78a6165ee901` — 1 warning
  - deleted the `query` request parameter `ID`
  - …this revision’s changelog is incomplete
- **2025-08-26** `72f306103a82` — 1 warning, 1 info
  - deleted the `query` request parameter `group`
  - added the new optional `query` request parameter `groupId`

[Change history](https://skmtc.dev/criblio/apis/cribl-api-reference/changes/version/files/get.md)

---

[API](https://skmtc.dev/criblio/apis/cribl-api-reference.md) · [All operations](https://skmtc.dev/criblio/apis/cribl-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/criblio/cribl-api-reference/revisions/11df16b26c1d/schema)
