---
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`

The requested GitCountResult object in a single-item list.

- CountedGitCountResult
  - `count` integer, required — number of items present in the items array
  - `items` GitCountResult[], required — List of items in this response.
    - `count` integer, required — Number of files that changed since the specified commit.

## Other responses

- `401` — Authentication failed (missing or invalid credentials or Bearer token).
- `500` — Unexpected server error.

---

[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/56cb25079271/schema)
