List Code Quality Detections
Retrieve code quality detections separately from security detections. Classification values are code quality labels, such as Maintainability, rather than CWEs. 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/code-quality, this endpoint’s earlier name, which stays supported with the same parameters and response.
