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

# List Watchlists

Get all watchlists.

<Note>
  External Documentation

  To learn more, visit the [Microsoft Sentinel documentation](https://learn.microsoft.com/en-us/rest/api/securityinsights/watchlists/list?view=rest-securityinsights-2023-02-01\&tabs=HTTP).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter           | Description                                                   |
  | ------------------- | ------------------------------------------------------------- |
  | Resource Group Name | The name of the resource group. The name is case insensitive. |
  | Return All Pages    | Automatically fetch all resources, page by page.              |
  | Subscription ID     | The ID of the target subscription.                            |
  | Workspace Name      | The name of the workspace.                                    |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter  | Description                                                                                                                          |
  | ---------- | ------------------------------------------------------------------------------------------------------------------------------------ |
  | Skip Token | Specifies a starting point to show results from, this token is received in case that the previous request returned a partial result. |
  | Top        | Return Only the first `n` results.                                                                                                   |
</div>

## Example Output

```json theme={"dark"}
{
	"value": [
		{
			"id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/watchlists/highValueAsset",
			"name": "highValueAsset",
			"type": "Microsoft.SecurityInsights/Watchlists",
			"etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"",
			"properties": {
				"watchlistId": "76d5a51f-ba1f-4038-9d22-59fda38dc017",
				"displayName": "High Value Assets Watchlist",
				"provider": "Microsoft",
				"source": "Local file",
				"itemsSearchKey": "header1",
				"created": "2020-09-28T00:26:54.7746089+00:00",
				"updated": "2020-09-28T00:26:57+00:00",
				"createdBy": {
					"objectId": "2046feea-040d-4a46-9e2b-91c2941bfa70",
					"name": "john doe",
					"email": "john@contoso.com"
				},
				"updatedBy": {
					"objectId": "2046feea-040d-4a46-9e2b-91c2941bfa70",
					"name": "john doe",
					"email": "john@contoso.com"
				},
				"description": "Watchlist from CSV content",
				"watchlistType": "watchlist",
				"watchlistAlias": "highValueAsset",
				"isDeleted": false,
				"labels": [
					"Tag1",
					"Tag2"
				],
				"defaultDuration": "P1279DT12H30M5S",
				"tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd",
				"numberOfLinesToSkip": 371,
				"uploadStatus": "<string>"
			}
		}
	]
}
```

## Workflow Library Example

[List Watchlists with Microsoft Sentinel and Send Results Via Email](https://library.blinkops.com/workflows/list-watchlists-with-microsoft-sentinel-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/list-watchlists-with-microsoft-sentinel-and-send-results-via-email/canvas" />
</div>
