---
title: "Get Hotspots"
method: GET
path: "/snapshots/{snapshot_id}/hotspots"
tags: ["dashboard"]
---

# Get Hotspots

`GET /snapshots/{snapshot_id}/hotspots`

Paginated hotspot list — envelope mirrors the OSS shape.

Sorted by churn percentile (descending) before slicing so the page
is the "worst N" regardless of offset.

## Path parameters

- `snapshot_id` string, required

## Query parameters

- `limit` integer
- `offset` integer

## Response `200`

Successful Response

- PaginatedHotspotEntry
  - `items` HotspotEntry[], required
    - `path` string, required
    - `commit_count` integer, required
    - `commit_count_90d` integer
    - `commit_count_30d` integer
    - `churn_percentile` number, required
    - `primary_owner` string, nullable
    - `last_commit_at` string, nullable
    - `is_hotspot` boolean
    - `is_stable` boolean
    - `bus_factor` integer
    - `contributor_count` integer
    - `lines_added_90d` integer
    - `lines_deleted_90d` integer
    - `avg_commit_size` number
    - `commit_categories` object
    - `commit_count_capped` boolean, nullable
    - `merge_commit_count_90d` integer
    - `recent_owner_name` string, nullable
    - `recent_owner_commit_pct` number, nullable
    - `temporal_hotspot_score` number, nullable
    - `change_entropy` number, nullable
    - `change_entropy_pct` number, nullable
    - `prior_defect_count` integer, nullable
    - `bug_magnet` boolean, nullable
    - `last_fix_at` string, nullable
    - `original_path` string, nullable
  - `total` integer, required
  - `has_more` boolean, required
  - `next_offset` integer, 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/6bb9d0da77e3?raw)
