GET
/
v1
/
scans
/
{scan_id}
curl --request GET \
  --url https://api.projectdiscovery.io/v1/scans/{scan_id} \
  --header 'X-API-Key: <api-key>'
{
  "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>"
}

Authorizations

X-API-Key
string
headerrequired

Path Parameters

scan_id
string
required

Response

200 - application/json
asset_ids
string[]
completed_at
string
required
created_at
string
required
failure_reason
string
required
is_cloud
boolean
required
is_oss
boolean
required
is_rescan
boolean
name
string
required
progress
integer
required
public_templates
string[]
report_config_ids
string[]
rescan_count
integer
scan_config_ids
string[]
scan_frequency
string
scan_id
string
required
scan_time_elapsed
string
required
schedule_last_run
string
severity
object
status
string
required
template_ids
string[]
template_urls
string[]
total_scan
integer
required
total_target
integer
required
total_template
integer
required
updated_at
string
required