Get scan run - scan logs API in Website Scanner
Use this API to get scan logs from a scan run report from a website scan.
get scan run - scan logs
For geo-restricted data, use the following endpoints:
https://accessibility-eu.browserstack.com/api/website-scanner/v1/scans/{scan_id}/scan_runs/{scan_run_id}/scan_logs (European Union)
https://accessibility.browserstack.com/api/website-scanner/v1/scans/{scan_id}/scan_runs/{scan_run_id}/scan_logs (United States)
https://accessibility-in.browserstack.com/api/website-scanner/v1/scans/{scan_id}/scan_runs/{scan_run_id}/scan_logs (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/{scan_run_id}/scan_logs
Response Attributes 200 OK JSON
Response
{
"data": {
"urlCount" : 10,
"scanLogs" : [
{
"time": "2024-12-13T07:43:06.133Z",
"pageUrl": "https://www.sample.com/",
"description": "Scan complete, 1 issues found",
"finalRedirectUrl": "",
"status": "success/redirect/failure"
},
...
]
}
}
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.