Prior-scan finding evidence per route key.
GET/v1/scans/:scan_id/prior-route-evidence
Worker-facing query (#309): the route keys that carried findings in OTHER scans of this project, severity/count weighted. The coverage gate ranks its gap list by this so a bounded close-out pass spends itself on historically-productive routes first. Split workers keep no project findings locally, so the gate asks here. Worker auth is required.
Request
Responses
- 200
- 401
- 404
{routes: {route_key: {weight, findings, top_severity, vuln_classes, sample_url}}, …} — empty when no prior scan of this project recorded findings.
Missing or invalid bearer token.
Unknown scan, or a scan not bound to a project.