---
title: "Get File Health"
method: GET
path: "/api/v1/quality/file-health/{file_path}"
---

# Get File Health

`GET /api/v1/quality/file-health/{file_path}`

## Request

- Base URL: `http://127.0.0.1:8052`
- URL: `http://127.0.0.1:8052/api/v1/quality/file-health/{file_path}`
- Auth: none declared

Return the current health score for a single file.

Args:
    file_path: File path relative to repository root (URL-encoded).

Returns 404 if the file has never been tracked.

## Path parameters

- `file_path` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `404`: File not tracked yet
- `422`: Validation Error

---

[API](https://skmtc.dev/bernstein/apis/bernstein-task-server.md) · [All operations](https://skmtc.dev/bernstein/apis/bernstein-task-server/llms.txt) · [OpenAPI document](https://skmtc.dev/bernstein/apis/bernstein-task-server/revisions/2a20a34ad2eb?raw)
