---
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`

## Request

- Base URL: `https://api.deeptrace.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.deeptrace.com/api/dedup-scan/results/{result_id}/history`
- Auth: none declared

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.dev/deeptrace/apis/deeptrace-api.md) - [All operations](https://skmtc.dev/deeptrace/apis/deeptrace-api/llms.txt) - [OpenAPI document](https://skmtc.dev/deeptrace/apis/deeptrace-api/revisions/855e59bb07f0?raw)
