Skip to main content
AI agents are now live in Website Scanner! Enter your URL and fix website issues 3x faster with AI. Explore now!
No Result Found
Connect & Get help from fellow developers on our Discord community. Ask the CommunityAsk the Community

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

GET /api/v1/scanner/{proj_id}/scan_builds

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

    Pagination metadata for the list of scan runs.

    â–¶ SHOW VALUES
  • builds Array

    An array of scan run objects, each containing per-product summaries.

    â–¶ SHOW VALUES

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.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Download Copy Check Circle