---
title: "Get Scan Run Trends"
method: GET
path: "/api/dedup-scan/runs/{run_id}/trends"
tags: ["dedup-scan"]
---

# Get Scan Run Trends

`GET /api/dedup-scan/runs/{run_id}/trends`

## 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/runs/{run_id}/trends`
- Auth: none declared

Get trend data for all results in a scan run.

Separated from /results to allow the frontend to render
issues immediately without waiting for trend computation.

## Path parameters

- `run_id` string, uuid, required

## Response `200`

Successful Response

- TrendsResponse: Mapping of result_id -> TrendInfo for a scan run.
  - `trends` object, 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)
