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

# Get a count of files that changed since a commit

`GET /version/count`

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

## Query parameters

- `commit` string

## Response `200`

a list of GitCountResult objects

- CountedGitCountResult
  - `count` integer — number of items present in the items array
  - `items` GitCountResult[]
    - `count` number, required

## 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-09-03** `9c006bed7bb7` — 1 info
  - added the required property `items/items/count` to the response with the `200` status

[Full history](https://skmtc.dev/criblio/apis/cribl-api-reference/changes/version/count/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)
