---
title: "Returns rising hotspot files whose increased commit frequency coincides with unhealthy code."
method: GET
path: "/api/projects/{project-id}/quality/code-health/alerts/rising-hotspots-code-health-issues"
tags: ["quality"]
---

# Returns rising hotspot files whose increased commit frequency coincides with unhealthy code.

`GET /api/projects/{project-id}/quality/code-health/alerts/rising-hotspots-code-health-issues`

## Request

- Base URL: `https://codescene.io` (the document declares no server; this is the origin it was published from)
- URL: `https://codescene.io/api/projects/{project-id}/quality/code-health/alerts/rising-hotspots-code-health-issues`
- Auth: none declared

## Path parameters

- `project-id` integer, required

## Response `200`

- object[]
  - `name` string, required: Repo-scoped file path for a rising hotspot with unhealthy code.
  - `year` number, nullable, required: Code Health score one year back.
  - `month` number, nullable, required: Code Health score one month back.
  - `now` number, nullable, required: Current Code Health score.
  - `commit-frequency-increase` integer, required: Increase in commit frequency that pushed the file up the hotspot ranking.

## Other responses

- `400`
- `401`
- `403`
- `404`

---

[API](https://skmtc.dev/codescene/apis/codescene-api.md) · [All operations](https://skmtc.dev/codescene/apis/codescene-api/llms.txt) · [OpenAPI document](https://skmtc.dev/codescene/apis/codescene-api/revisions/e443e0b6bc89?raw)
