Skip to main content
GET
/
stats
cURL
curl --request GET \
  --url https://app.cotool.ai/stats \
  --header 'Authorization: Bearer <token>'
{
  "totalItems": 123,
  "severityBreakdown": {
    "critical": 123,
    "high": 123,
    "medium": 123,
    "low": 123,
    "none": 123
  },
  "platformBreakdown": {},
  "recentItems": [
    {
      "id": "<string>",
      "title": "<string>",
      "severity": "<string>",
      "publishTime": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

API Key authentication for programmatic access. Include your API key in the Authorization header as: Bearer your_api_key_here

Response

200 - application/json

Successful response

totalItems
number
required
severityBreakdown
object
required
platformBreakdown
object
required
recentItems
object[]
required