---
title: "List File Health"
method: GET
path: "/quality/file-health"
---

# List File Health

`GET /quality/file-health`

Return per-file code health scores, worst files first.

Query parameters:
- ``limit``: max results (default 50, max 500).
- ``min_score``: only return files at or below this score.
- ``grade``: filter by grade (A/B/C/D/F).

Returns a JSON object with ``files`` list and summary statistics.

## Response `200`

Successful Response

- unknown

## Changes

- **2026-07-26** `2a1299ef19fa` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/sipyourdrink-ltd/apis/bernstein-task-server/changes/quality/file-health/get.md)

---

[API](https://skmtc.dev/sipyourdrink-ltd/apis/bernstein-task-server.md) · [All operations](https://skmtc.dev/sipyourdrink-ltd/apis/bernstein-task-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sipyourdrink-ltd/bernstein-task-server/revisions/0e46eabd1463/schema)
