Skip to content

GET /v1/organizations/{org_id}/projects/{id}/stats

A numeric snapshot of the project: alert breakdown by severity, KEV/PoC alerts, and volume (stack, monitored URLs, EOL subscriptions). Alert counts reflect your alerts on the project.

GET /api/v1/organizations/{org_id}/projects/{project_id}/stats
Authorization: Bearer twa_your_key_here
ParameterTypeDescription
org_idUUIDOrganization identifier
project_idUUIDProject identifier
{
"total_alerts": 128,
"unread_alerts": 12,
"alerts_by_severity": { "CRITICAL": 8, "HIGH": 34, "MEDIUM": 70, "LOW": 16 },
"kev_alerts": 5,
"poc_alerts": 21,
"stack_items": 14,
"monitored_urls": 3,
"eol_subscriptions": 7
}
FieldTypeDescription
total_alertsintegerTotal CVE alerts on the project
unread_alertsintegerUnread alerts
alerts_by_severityobjectAlert count per severity
kev_alertsintegerAlerts on KEV-listed CVEs
poc_alertsintegerAlerts on CVEs with a public PoC
stack_itemsintegerMonitored stack items
monitored_urlsintegerMonitored URLs
eol_subscriptionsintegerEnd-of-Life subscriptions
CodeDetailCause
404Projet introuvableProject not found or not in this organization
403Accès refusé à ce projetYou are not a member of the project
Fenêtre de terminal
ORG_ID="018e5678-abcd-7000-8000-000000000001"
PROJECT_ID="018e1234-abcd-7000-8000-000000000010"
curl -s \
-H "Authorization: Bearer twa_your_key_here" \
"https://app.techwatchalert.com/api/v1/organizations/${ORG_ID}/projects/${PROJECT_ID}/stats" \
| jq '{critical: .alerts_by_severity.CRITICAL, kev: .kev_alerts, unread: .unread_alerts}'