curl --request GET \
--url https://api.projectdiscovery.io/v1/scans/stats \
--header 'X-API-Key: <api-key>'
{
"scan_stats": {
"total_scan": 123,
"total_unique_scan": 123,
"total_uploaded_scan": 123,
"total_scheduled_scan": 123
},
"scan_status": {
"failed": 123,
"finished": 123,
"queued": 123,
"running": 123,
"starting": 123,
"stopped": 123,
"uploaded": 123
}
}
Get all scans statistics for a user
curl --request GET \
--url https://api.projectdiscovery.io/v1/scans/stats \
--header 'X-API-Key: <api-key>'
{
"scan_stats": {
"total_scan": 123,
"total_unique_scan": 123,
"total_uploaded_scan": 123,
"total_scheduled_scan": 123
},
"scan_status": {
"failed": 123,
"finished": 123,
"queued": 123,
"running": 123,
"starting": 123,
"stopped": 123,
"uploaded": 123
}
}
Retrieve the Team ID from: https://cloud.projectdiscovery.io/settings/team
Example response
The response is of type object
.
Was this page helpful?