---
title: "Get Health Score"
method: GET
path: "/repos/{short_id}/health-score"
tags: ["analytics"]
---

# Get Health Score

`GET /repos/{short_id}/health-score`

## Request

- Base URL: `https://api.repowise.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.repowise.dev/repos/{short_id}/health-score`
- Auth: HTTP bearer

Composite 0-100 health score for this repo.

Weighted blend of doc coverage, freshness, dead-code ratio, hotspot
density, and silo ratio. Sparse repos (e.g. no docs generated, no git
metadata) still receive a deterministic baseline rather than 500-ing.

## Path parameters

- `short_id` string, required

## Response `200`

Successful Response

- HealthScoreResponse
  - `score` integer, required
  - `components` HealthScoreComponent[]
    - `key` string, required
    - `label` string, required
    - `weight` number, required
    - `score` integer, required
    - `detail` string, required
  - `note` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/repowise/apis/repowise-hosted-api.md) - [All operations](https://skmtc.dev/repowise/apis/repowise-hosted-api/llms.txt) - [OpenAPI document](https://skmtc.dev/repowise/apis/repowise-hosted-api/revisions/3037f631a606?raw)
