Skip to main content
POST
/
api
/
v1
/
stats
/
topIssues
Get top critical issues
curl --request POST \
  --url https://zeropath.com/api/v1/stats/topIssues \
  --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",
  "type": "open",
  "severities": [
    "critical"
  ],
  "vulnClasses": [
    "<string>"
  ]
}
'
[
  {
    "id": "<string>",
    "title": "<string>",
    "vulnClass": "<string>",
    "score": 123,
    "cwes": [
      "<string>"
    ],
    "status": "open"
  }
]

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>
type
enum<string>
Available options:
open,
patched
severities
enum<string>[]
Available options:
critical,
high,
medium,
low,
info
vulnClasses
string[]

Response

200 - application/json

Successful response

id
string
title
string
vulnClass
string
score
number
cwes
string[]
status
enum<string>
Available options:
open,
patched