---
title: "Get the status of the current working tree"
method: GET
path: "/version/status"
tags: ["versioning"]
---

# Get the status of the current working tree

`GET /version/status`

Get the status of the current working tree of the Git repository used for Cribl configuration. The response includes details about modified, staged, untracked, and conflicted files, as well as branch and remote tracking information.

## Response `200`

a list of GitStatusResult objects

- CountedGitStatusResult
  - `count` integer — number of items present in the items array
  - `items` GitStatusResult[]
    - `ahead` number, required
    - `behind` number, required
    - `conflicted` string[], required
    - `created` string[], required
    - `current` string, required
    - `deleted` string[], required
    - `files` object[], required
      - `index` string, required
      - `path` string, required
      - `working_dir` string, required
    - `modified` string[], required
    - `not_added` string[], required
    - `renamed` object[], required
      - `from` string, required
      - `to` string, required
    - `staged` string[], required

## Other responses

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

## Changes

- **2026-03-06** `11df16b26c1d` — 1 warning
  - deleted the `query` request parameter `groupId`
- **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/status/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)
