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

Returns the details for sites.

<Note>
  External Documentation

  To learn more, visit the [Rapid7 InsightVM Cloud documentation](https://help.rapid7.com/insightvm/en-us/api/integrations.html#operation/getSites).
</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.                                                                                                                                            |
  | Sort             | The criteria to sort the records by, in the format: `[,ASC\|DESC]`. The default sort order is ascending. Multiple sort criteria can be specified using multiple sort query parameters. |
</div>

## Example Output

```json theme={"dark"}
{
	"description": "The details for all sites.",
	"summary": "Example",
	"value": {
		"data": [
			{
				"name": "docker hosts",
				"type": "SITE"
			},
			{
				"name": "lab",
				"type": "SITE"
			},
			{
				"name": "windows targets",
				"type": "SITE"
			}
		],
		"links": [
			{
				"href": "https://us.api.insight.rapid7.com:443/vm/v4/integration/sites?page=0\u0026size=3",
				"rel": "self"
			}
		],
		"metadata": {
			"cursor": "-760687744:::_S:::windows targets",
			"number": 0,
			"size": 3,
			"totalPages": 1,
			"totalResources": 3
		}
	}
}
```

## Workflow Library Example

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