> ## 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 Scans

Retrieves a page of scans.

<Note>
  External Documentation

  To learn more, visit the [Rapid7 InsightVM Cloud documentation](https://help.rapid7.com/insightvm/en-us/api/integrations.html#operation/getScan).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter        | Description                                      |
  | ---------------- | ------------------------------------------------ |
  | Page             | The index of the page (zero-based) to retrieve.  |
  | Return All Pages | Automatically fetch all resources, page by page. |
  | Size             | The number of records per page to retrieve.      |
</div>

## Example Output

```json theme={"dark"}
{
	"description": "A page of scans.",
	"summary": "Example",
	"value": {
		"data": [
			{
				"engine_id": "b177d730-5cde-468a-89a4-2c5b9d26b465",
				"finished": "2020-05-12T09:08:54.404Z",
				"id": "bcc3fd8f-7bb6-41cc-a52f-4046c8742bf0",
				"name": "Scan API Example Name",
				"started": "2020-05-12T09:00:12.199Z",
				"status": "Success"
			}
		],
		"links": [
			{
				"href": "https://{region}.api.insight.rapid7.com:443/vm/v4/integration/scan?page=0\u0026size=10",
				"rel": "self"
			}
		],
		"metadata": {
			"number": 0,
			"size": 10,
			"totalPages": 1,
			"totalResources": 1
		}
	}
}
```

## Workflow Library Example

[Get Scans with Rapid7 Insightvm Cloud and Send Results Via Email](https://library.blinkops.com/workflows/get-scans-with-rapid7-insightvm-cloud-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-scans-with-rapid7-insightvm-cloud-and-send-results-via-email/canvas" />
</div>
