Skip to main content
POST
/
api
/
v1
/
stats
/
issuesBySeverity
Get issues by severity
curl --request POST \
  --url https://zeropath.com/api/v1/stats/issuesBySeverity \
  --header 'Content-Type: application/json' \
  --header 'X-ZeroPath-API-Token-Id: <api-key>' \
  --header 'X-ZeroPath-API-Token-Secret: <api-key>' \
  --data '
{
  "organizationId": "<string>",
  "projectId": "<string>",
  "startDate": "2023-12-25",
  "endDate": "2023-12-25",
  "severities": [
    "critical"
  ],
  "vulnClasses": [
    "<string>"
  ]
}
'
{
  "severityCounts": {
    "critical": 123,
    "high": 123,
    "medium": 123,
    "low": 123,
    "info": 123
  },
  "total": 123
}

Documentation Index

Fetch the complete documentation index at: https://zeropath.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

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

Body

application/json
organizationId
string
projectId
string
startDate
string<date>
endDate
string<date>
severities
enum<string>[]
Available options:
critical,
high,
medium,
low,
info
vulnClasses
string[]

Response

200 - application/json

Successful response

severityCounts
object
total
number