GET
/
v1
/
scans
/
{scanId}
/
history
curl --request GET \
  --url https://api.projectdiscovery.io/v1/scans/{scanId}/history \
  --header 'X-API-Key: <api-key>'
{
  "message": "<string>",
  "current_page": 123,
  "result_count": 123,
  "total_results": 123,
  "total_pages": 123,
  "data": [
    {
      "completed_request": 123,
      "name": "<string>",
      "scan_id": "<string>",
      "scan_time": "<string>",
      "severity": {},
      "status": "<string>",
      "time": "<string>",
      "total_request": 123,
      "total_result": 123,
      "total_target": 123,
      "total_templates": 123
    }
  ],
  "total_completed_request": 123,
  "total_scan_run": 123,
  "total_unique_scan_run": 123
}

Authorizations

X-API-Key
string
header
required

Headers

X-Team-Id
string

Retrieve the Team ID from: https://cloud.projectdiscovery.io/settings/team

Path Parameters

scanId
string
required

Query Parameters

offset
integer

number of rows to skip

limit
integer

number of rows to get

start_date
string

start date from which you want to get history

end_date
string

end date till which you want to get history

time_range
enum<string>

time range to get history

Available options:
current_month,
last_month,
last_3_months,
last_6_months,
last_12_months,
all_time

Response

200
application/json
Example response
message
string
required
current_page
integer
required
result_count
integer
required
total_results
integer
required
total_pages
integer
required
data
object[]
required
total_completed_request
integer
total_scan_run
integer
total_unique_scan_run
integer