workflowRequestId to filter bug results to only those surfaced during that specific scan.
GET /public/v1/scans
Returns a paginated list of scans for a repository, ordered newest first.Query parameters
string
required
The repository ID to fetch scans for. Repository IDs are prefixed with
repo_ and are returned by GET /public/v1/repos. Example: repo_abc123.integer
Number of results to return. Between
1 and 100. Defaults to 50.integer
Number of results to skip for pagination. Defaults to
0.Response
Scan[]
Array of scan objects for the repository.
integer
Total number of scans for the repository, regardless of
limit and offset.Example response
To list the bugs surfaced by a specific scan, pass its
workflowRequestId as the workflow_request_id parameter when calling GET /public/v1/bugs.
