Stats

Get summary statistics

Returns aggregate security statistics for a given scope: issue counts broken down by status (open, patched, false positive, archived, patchable) and severity (critical, high, medium, low, info), plus scan activity counts (full scans, PR scans, running, failed). Use this to get a high-level security posture overview before diving into specific issues. Scope the results using optional filters: scanId (single scan), repositoryId (single repo), or organizationId (whole org).

post/api/v2/stats/summary

Request

  • Base URL
    https://zeropath.com
  • Auth
    API key in header X-ZeroPath-API-Token-Id and API key in header X-ZeroPath-API-Token-Secret

Request body

organizationIdstring

Scope stats to a single organization. Ignored if scanId or repositoryId is also provided.

repositoryIdstring

Scope stats to a single repository. Takes precedence over organizationId. Ignored if scanId is also provided.

scanIdstring

Scope stats to a single scan. Takes precedence over both repositoryId and organizationId.

Response

Successful response

Changes

No recorded changes to this operation across all 1 revision of this API.