POST
/
api
/
v1
/
stats
/
summary
Get summary statistics
curl --request POST \
  --url https://zeropath.com/api/v1/stats/summary \
  --header 'Content-Type: application/json' \
  --header 'X-ZeroPath-API-Token-Id: <api-key>' \
  --header 'X-ZeroPath-API-Token-Secret: <api-key>' \
  --data '{
  "organizationId": "<string>",
  "repositoryId": "<string>",
  "scanId": "<string>"
}'
{
  "scans": {
    "fullScans": 123,
    "prScans": 123,
    "runningScans": 123,
    "failedScans": 123
  },
  "issues": {
    "open": 123,
    "patched": 123,
    "falsePositive": 123,
    "archived": 123,
    "processing": 123
  },
  "issuesByScore": {
    "critical": 123,
    "high": 123,
    "medium": 123,
    "low": 123,
    "info": 123
  }
}

Authorizations

X-ZeroPath-API-Token-Id
string
header
required
X-ZeroPath-API-Token-Secret
string
header
required

Body

application/json
organizationId
string
repositoryId
string
scanId
string

Response

200 - application/json

Successful response

scans
object
issues
object
issuesByScore
object