v1

latestOpenAPI 3.1.02026-07-174824.1 KB
Packages

Scatter plot data for the Risk Matrix tab

Returns all packages where is_critical = true AND has_critical_vulnerability = true as lightweight data points for the health-vs-impact scatter plot. No pagination — this filter set is expected to stay around 2 000 packages. Ordered by impact DESC.

Dot color is determined by stewardshipStatus. Legend checkboxes toggle visibility client-side — no additional API calls needed.

get/ossprey/packages/scatter

Response

Scatter plot data points.

totalinteger required

Count of packages matching the filter (is_critical = true AND has_critical_vulnerability = true). Equals points.length — no separate count query.

Example response

{
  "points": [
    {
      "purl": "pkg:npm/lodash@4.17.21",
      "name": "lodash",
      "criticalityScore": 94,
      "healthScore": 52,
      "stewardshipId": "4501",
      "openVulns": 3,
      "advisoryCount": 3
    }
  ],
  "total": 2000
}