> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Scan Summary Comparison

Get an aggregated SAST results summary based on a comparison of two scans.

<Note>
  External Documentation

  To learn more, visit the [Checkmarx One documentation](https://checkmarx.stoplight.io/docs/checkmarx-one-api-reference-guide/f5y2upenaecnl-retrieve-aggregated-summary-of-sast-results-comparison).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter        | Description                                                                                                                            |
  | ---------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
  | Base Scan ID     | The scan ID of the older scan to compare.                                                                                              |
  | Correlation ID   | A unique identifier used to track a single request across multiple services.                                                           |
  | Group By Field   | Group the results by specific fields.                                                                                                  |
  | Language         | A comma-separated list of languages to filter results by.<br /><br />**Note:** Use an exact match, the comparison is case-insensitive. |
  | New Scan ID      | The scan ID of the newer scan to compare.                                                                                              |
  | Query IDs        | A comma-separated list of query IDs to filter results by.                                                                              |
  | Return All Pages | Automatically fetch all resources, page by page.                                                                                       |
  | Severity         | The severity level to filter results by.                                                                                               |
  | Status           | The scan occurrence status to filter results by.                                                                                       |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter | Description                                            |
  | --------- | ------------------------------------------------------ |
  | Limit     | The maximum number of items to return per page.        |
  | Offset    | The offset of the item at which to begin the response. |
</div>

## Example Output

```json theme={"dark"}
{
	"summaries": [
		{
			"queryID": "729519850006803664",
			"queryName": "Missing_CSP_Header",
			"severity": "LOW",
			"count": 1
		},
		{
			"queryID": "3339566533927886347",
			"queryName": "Client_JQuery_Deprecated_Symbols",
			"severity": "LOW",
			"count": 4
		}
	],
	"totalCount": 2
}
```

## Workflow Library Example

[Get Scan Summary Comparison with Checkmarx One and Send Results Via Email](https://library.blinkops.com/workflows/get-scan-summary-comparison-with-checkmarx-one-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/get-scan-summary-comparison-with-checkmarx-one-and-send-results-via-email/canvas" />
</div>
