Get scan run list API in Website Scanner
Use this API to get the list of scan runs for a given website scan.
get scan run list
For geo-restricted data, use the following endpoints:
https://accessibility-eu.browserstack.com/api/website-scanner/v1/scans/{scan_id}/scan_runs (European Union)
https://accessibility.browserstack.com/api/website-scanner/v1/scans/{scan_id}/scan_runs (United States)
https://accessibility-in.browserstack.com/api/website-scanner/v1/scans/{scan_id}/scan_runs (India)
Request parameters
Request
curl -u "YOUR_USERNAME:YOUR_ACCESS_KEY" \
https://api-accessibility.browserstack.com/api/website-scanner/v1/scans/{scan_id}/scan_runs
-
proj_id* Integer
The unique ID of the scan project.
-
page Integer
Page number to retrieve. Default value is 1.
-
page_size Integer
Number of scan runs to return per page. Default value is 30.
Response Attributes 200 OK JSON
Response
{
scan_runs: [
{
"id": 292167,
"scanDate": "2024-09-30T07:10:27.322Z",
"issues": 784,
"componentCount": 63,
"reportSummary": {
"failure": 1,
"success": 0,
"redirect": 54
},
"issueSummary": {
"minor": 0,
"serious": 708,
"critical": 76,
"moderate": 0
},
"error": null
},
{
"id": 281194,
"scanDate": "2024-09-23T06:30:24.281Z",
"issues": 848,
"componentCount": 67,
"reportSummary": {
"failure": 1,
"success": 0,
"redirect": 54
},
"issueSummary": {
"minor": 0,
"serious": 734,
"critical": 114,
"moderate": 0
},
"error": null
},
...
],
"pagination": {
"has_next": true,
"next_page": "eyJhbGciOiJIUzI1NiJ9.eyJwYWdlIjoxLCJwYWdlX3NpemUiOjEwLCJidWlsZF91dWlkIjoic3pkdGplMnhsaHNydWZkajF3bnJnYnZndnNmZzJjdGRsdWt4Nnl5eCIsImV4cCI6MTczNjY4NDA1OH0.sLI7hWQwE_bB6AB-ORgz1K6D2VIHqH_H39qK8Jh3HqA"
}
}
-
success Boolean
Indicates whether the request was successful.
-
info Object
â–¶ SHOW VALUESPagination metadata for the list of scan runs.
-
builds Array
â–¶ SHOW VALUESAn array of scan run objects, each containing per-product summaries.
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.