---
title: "Get file status"
method: GET
path: "/file/status"
---

# Get file status

`GET /file/status`

Get the git status of all files in the project.

## Query parameters

- `directory` string
- `workspace` string

## Response `200`

File status

- File[]
  - `path` string, required
  - `added` integer, required
  - `removed` integer, required
  - `status` 'added' | 'deleted' | 'modified', required

---

[API](https://skmtc.net/kaaass/apis/opencode.md) · [All operations](https://skmtc.net/kaaass/apis/opencode/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kaaass/opencode/versions/8bb9a15bd144/schema)
