---
title: "Get Result History"
method: GET
path: "/api/dedup-scan/results/{result_id}/history"
tags: ["dedup-scan"]
---

# Get Result History

`GET /api/dedup-scan/results/{result_id}/history`

Get the trend history of an issue as time-bucketed investigation counts.

Finds all investigations belonging to this issue (via embedding-matched
scan results), then buckets them into non-overlapping time windows
sized by hours_lookback. Each investigation is counted exactly once.

## Path parameters

- `result_id` string, uuid, required

## Response `200`

Successful Response

- TrendHistoryResponse — Full trend history for an issue across scans.
  - `result_id` string, required
  - `title` string, required
  - `points` TrendHistoryPoint[], required
    - `bucket_start` string, required
    - `bucket_end` string, required
    - `investigation_count` integer, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/deeptrace/apis/fastapi.md) · [All operations](https://skmtc.net/deeptrace/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deeptrace/fastapi/versions/1af581120ec0/schema)
