Detections
List All Detections
Retrieve a list of all security detections for the authenticated user’s company. By default, results are ordered by creation time, newest first, with detection ID as a tie-breaker for stable pagination. When no scan ID is supplied, prefers the newest matching processed non-PR scan covering the whole project; falls back to the newest matching scan if none exists. An explicit scan_type filter on /detections or /detections/code-quality instead selects the newest scan of that type.
Also served at /api/v1/issues, this endpoint’s earlier name, which stays supported with the same parameters and response.
GET
List All Detections
