---
title: "Health Trend"
method: GET
path: "/snapshots/{snapshot_id}/health/trend"
tags: ["code-health"]
---

# Health Trend

`GET /snapshots/{snapshot_id}/health/trend`

## Path parameters

- `snapshot_id` string, required

## Response `200`

Successful Response

- HealthTrendResponse
  - `points` HealthTrendPoint[]
    - `taken_at` string, required
    - `hotspot_health` number, required
    - `average_health` number, required
    - `worst_performer_path` string, nullable
    - `worst_performer_score` number, nullable
  - `declining` boolean
  - `predicted_decline` boolean
  - `state` string
  - `reason` 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/ab200f4d1489?raw)
