GET
/
v1
/
scans
curl --request GET \
  --url https://api.projectdiscovery.io/v1/scans \
  --header 'X-API-Key: <api-key>'
{
  "data": [
    {
      "asset_ids": [
        "<string>"
      ],
      "completed_at": "<string>",
      "created_at": "<string>",
      "failure_reason": "<string>",
      "is_cloud": true,
      "is_oss": true,
      "is_rescan": true,
      "name": "<string>",
      "progress": 123,
      "public_templates": [
        "<string>"
      ],
      "report_config_ids": [
        "<string>"
      ],
      "rescan_count": 123,
      "scan_config_ids": [
        "<string>"
      ],
      "scan_frequency": "<string>",
      "scan_id": "<string>",
      "scan_time_elapsed": "<string>",
      "schedule_last_run": "<string>",
      "severity": {},
      "status": "<string>",
      "template_ids": [
        "<string>"
      ],
      "template_urls": [
        "<string>"
      ],
      "total_scan": 123,
      "total_target": 123,
      "total_template": 123,
      "updated_at": "<string>"
    }
  ],
  "message": "<string>"
}

Authorizations

X-API-Key
string
headerrequired

Query Parameters

offset
integer

number of scan-status results to skip

limit
integer

number of scan-status results to fetch

search
string

search term for running scans

status
string

filter by status (failed, finished, queued, running, starting, uploaded)

Response

200 - application/json
data
object[]
required
message
string
required