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

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.net/sipyourdrink-ltd/apis/bernstein-task-server.md) · [All operations](https://skmtc.net/sipyourdrink-ltd/apis/bernstein-task-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sipyourdrink-ltd/bernstein-task-server/revisions/86f514b4e920/schema)
