Get issue statistics
Get aggregated issue statistics by severity, status, source, priority, and type. Accepts every filter of GET /api/v1/issues except pagination and sorting, so the counts match the rows the list returns.
Query Parameters
Include suppressed findings that were dismissed as false positives or accepted risks in the counts. Other deleted findings remain excluded.
Filter by severity (OR within)
critical, high, medium, low, info, unknown Filter by status (OR within)
out_of_scope is reserved and no issue uses it; creating or editing an issue with it is refused.
unverified, open, confirmed, in_progress, resolved, false_positive, accepted_risk, duplicate, out_of_scope Filter by type (OR within)
vulnerability, misconfiguration, exposure, information, compliance, other Filter by source (OR within, any string value)
Filter by priority (OR within)
critical, high, medium, low, none Filter by confidence (OR within)
confirmed, firm, tentative Filter by host (partial match)
Filter by IP address (partial match)
Filter by template ID (partial match)
Filter by component (partial match)
Filter by assignee (partial match)
Filter by port (exact match)
Filter by tags (must have ALL)
Full-text search across title, description, host, template
Filter by external ticket id (exact match)
Filter by content-stable fingerprint (exact match)
Filter issues created after this timestamp
Filter issues created before this timestamp
Filter by target field (partial match)
Filter by target_type (exact match)
Filter by root domain of the host, for example example.com for www.example.com (exact match, OR within)
Filter to issues found by this scan
Filter to issues filed by a review of this repository (owner/name, exact). Kept in step with the list endpoint so the counts match the rows.
Count only issues that include an affected asset with this host
Count only issues with at least this many affected assets
Count only issues that contain this CVE ID in their cve_ids array (exact match)
Count only issues that contain this CWE ID in their cwe_ids array (exact match)
Count only issues with CVSS score >= this value
Count only issues with CVSS score <= this value
Count only issues that have (true) or don't have (false) a linked ticket
Scope statistics to a specific project
Scope statistics to a specific task
Filter by creator email (exact match). An email that matches no user yields zero counts.
Counts to compute. Omitted computes all of them. Each facet is a separate count over the matching issues, so ask only for what you show. A facet not asked for comes back as an empty list, and total as 0.
total, severity, status, source, priority, type, target_type 
