# Scans

## Get a list of scans

 - [GET /api/scans](https://api-docs.mend.io/sast/sast-api/scans/getscans.md): Retrieve a list of scans.

## Delete a scan

 - [DELETE /api/scans/{id}](https://api-docs.mend.io/sast/sast-api/scans/deletescan.md): Delete a scan by ID.

## Get a scan

 - [GET /api/v2/scans/{scanId}](https://api-docs.mend.io/sast/sast-api/scans/getscanv2.md): Get a scan by ID.

## Get configuration of a scan

 - [GET /api/v2/scans/{scanId}/config](https://api-docs.mend.io/sast/sast-api/scans/getscanconfigv2.md): Get configuration of a scan with an ID.

## Get a difference in findings between two scans

 - [GET /api/v2/scans/{scanId}/difference/{previousScanId}](https://api-docs.mend.io/sast/sast-api/scans/getscandifferencev2.md): Retrieve a list of newly introduced and/or resolved findings.

## Get a list of scan findings

 - [GET /api/v2/scans/{scanId}/findings](https://api-docs.mend.io/sast/sast-api/scans/listscanfindingsv2.md): Get a list of findings of a scan with an ID.

## Get a list of finding data flows

 - [GET /api/v2/scans/{scanId}/findings/{findingId}/data-flows](https://api-docs.mend.io/sast/sast-api/scans/listfindingdataflowsv2.md): Get a list of data flows of a finding in a scan.

## Find the highest priority findings.

 - [GET /api/v2/scans/{scanId}/prioritized-findings](https://api-docs.mend.io/sast/sast-api/scans/listprioritizedscanfindingsv2.md): Retrieve a list of findings prioritized by rating.

## Get a list of scan's vulnerability types

 - [GET /api/v2/scans/{scanId}/vulnerability-types](https://api-docs.mend.io/sast/sast-api/scans/listscanvulnerabilitytypesv2.md): Retrieve a list of vulnerability types registered in a scan.

## Get a list of scan findings

 - [GET /api/v2/scans/{scanId}/findings](https://api-docs.mend.io/sast/sast-api/findings/listscanfindingsv2.md): Get a list of findings of a scan with an ID.

## Get a list of finding data flows

 - [GET /api/v2/scans/{scanId}/findings/{findingId}/data-flows](https://api-docs.mend.io/sast/sast-api/findings/listfindingdataflowsv2.md): Get a list of data flows of a finding in a scan.

## Find the highest priority findings.

 - [GET /api/v2/scans/{scanId}/prioritized-findings](https://api-docs.mend.io/sast/sast-api/findings/listprioritizedscanfindingsv2.md): Retrieve a list of findings prioritized by rating.

## Get a list of finding data flows

 - [GET /api/v2/scans/{scanId}/findings/{findingId}/data-flows](https://api-docs.mend.io/sast/sast-api/data-flows/listfindingdataflowsv2.md): Get a list of data flows of a finding in a scan.

