v1

latestOpenAPI 3.0.32026-07-22238629559.2 KB
IssuesService

Get Issue Counts

Get counts of issues by status with filtering

post/api/agent/deployments/{deploymentId}/issue_counts

Path parameters

deploymentIdstring required

Specifies the deployment to which the issues belong.

Request body

deploymentIdstring

Specifies the deployment to which the issues belong.

issueType'ISSUE_TYPE_SAST' | 'ISSUE_TYPE_SCA' | 'ISSUE_TYPE_SECRETS' | 'ISSUE_TYPE_RESEARCH' | 'ISSUE_TYPE_AI_SAST' enum

Deprecated: use issue_types instead. Filters issues to those with the specified type.

valuedescription
ISSUE_TYPE_SASTDetected by Code rules
ISSUE_TYPE_SCADetected by Supply Chain rules
ISSUE_TYPE_SECRETSDetected by Secrets rules
ISSUE_TYPE_RESEARCHDetected by research rules or scanners
ISSUE_TYPE_AI_SASTDetected by AI detection code scanning
issueTypesstring[]

Filters issues to those with any of the specified types (based on the product which produced these issues). When empty, falls back to the deprecated issue_type field for backward compatibility.

valuedescription
ISSUE_TYPE_SASTDetected by Code rules
ISSUE_TYPE_SCADetected by Supply Chain rules
ISSUE_TYPE_SECRETSDetected by Secrets rules
ISSUE_TYPE_RESEARCHDetected by research rules or scanners
ISSUE_TYPE_AI_SASTDetected by AI detection code scanning

Response

OK

openstring
ignoredstring
ignoredFalsePositivestring
ignoredAcceptableRiskstring
ignoredNoTimestring
ignoredNoTriageReasonstring
closedstring
reviewingstring
fixingstring
provisionallyIgnoredstring
ignoredDuplicatestring
ignoredCodestring

Count of code-ignored (nosemgrep-muted) findings, regardless of triage reason.

archivedstring