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

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.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/911db8c1d636/schema)
