Dashboard
The dashboard provides a centralized view of your security posture with summary metrics, recent activity, and quick actions.
Summary Metrics
The dashboard summary endpoint returns aggregate counts across your account:
curl https://api.xnolex.com/api/v1/dashboard/summary \
-H "Authorization: Bearer <token>"{
"total_targets": 5,
"total_scans": 23,
"active_scans": 1,
"total_vulnerabilities": 47,
"critical_count": 3,
"high_count": 8
}Recent Scans
The summary endpoint also returns the last 5 scans with their status and findings counts:
{
"recent_scans": [
{
"id": "scan-uuid-...",
"target_domain": "example.com",
"engine": "full",
"status": "completed",
"progress": 100,
"created_at": "2025-01-15T10:00:00Z",
"findings_count": 12,
"critical_count": 2,
"high_count": 3,
"medium_count": 4,
"low_count": 3
}
]
}Charts
The charts endpoint returns daily scan and vulnerability counts for the last 30 days:
curl https://api.xnolex.com/api/v1/dashboard/charts \
-H "Authorization: Bearer <token>"[
{
"date": "2025-01-01",
"scans": 3,
"vulnerabilities": 15
},
{
"date": "2025-01-02",
"scans": 2,
"vulnerabilities": 8
}
]Each entry represents a single day. Days with no activity are omitted from the response. The vulnerabilities field is the sum of findings_count for all scans completed on that day.
Reports Page
The reports page aggregates findings across all completed scans, providing a per-domain breakdown of severity distribution. This gives you a portfolio-level view of security findings across all your targets.
Notifications
The notification system alerts you when scans complete or fail. Notifications are created automatically by the scan worker.
Notification Types
Listing Notifications
curl https://api.xnolex.com/api/v1/notifications \
-H "Authorization: Bearer <token>"Unread Count
curl https://api.xnolex.com/api/v1/notifications/unread-count \
-H "Authorization: Bearer <token>"
# Response: { "unread_count": 3 }Marking as Read
curl -X PUT https://api.xnolex.com/api/v1/notifications/{id}/read \
-H "Authorization: Bearer <token>"curl -X POST https://api.xnolex.com/api/v1/notifications/read-all \
-H "Authorization: Bearer <token>"Scan Limit Indicator
The dashboard displays a progress bar showing scans used versus your tier limit. Limits are enforced per-tier:
Quick Actions
The dashboard provides direct access to the most common operations: