Sazabi
APIIssues

Count issues

GET
/issues/count

Count issues in a project with status and severity breakdowns.

Query Parameters

projectId?string

Project to list issues for. Auto-filled from CLI and SDK context when omitted.

Formatuuid
status?string

Filter by issue status.

Value in

  • "open"
  • "resolved"
  • "ignored"
severity?string

Filter by severity.

Value in

  • "low"
  • "medium"
  • "high"
  • "critical"
componentId?string

Filter by component ID.

Formatuuid
name?string

Case-insensitive partial match on issue name.

Response Body

application/json

curl -X GET "https://example.com/issues/count"
{  "total": 0,  "byStatus": {    "open": 0,    "resolved": 0,    "ignored": 0  },  "bySeverity": {    "low": 0,    "medium": 0,    "high": 0,    "critical": 0  },  "filters": {    "name": "string",    "status": "open",    "severity": "low",    "componentId": "616ccd92-d666-4180-8349-8d125b269fac"  }}