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

List all alerts with optional filtering.

<Note>
  External Documentation

  To learn more, visit the [SuperOps documentation](https://developer.superops.com/it#query-getAlertList).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter        | Description                                                                                                                                                                                                                                                                                                                                                                                                                                       |
  | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Condition        | A JSON object representing the condition to filter the results. for more information please refer to [SuperOps documentation](https://developer.superops.com/it#definition-RuleConditionInput).<br /><br />**For example:**<br /><pre><code>\{<br />  "attribute": "technician.email",<br />  "operator": "includes",<br />  "value": \["[user1@acme.com](mailto:user1@acme.com)", "[user2@acme.com](mailto:user2@acme.com)"]<br />}</code></pre> |
  | Page             | The page number to retrieve.                                                                                                                                                                                                                                                                                                                                                                                                                      |
  | Page Size        | The maximum number of records to return per page.                                                                                                                                                                                                                                                                                                                                                                                                 |
  | Return All Pages | Automatically fetch all resources, page by page.                                                                                                                                                                                                                                                                                                                                                                                                  |
  | Sort             | A JSON list representing the sorting criteria to apply to the results.<br /><br />**For example:**<br /><pre><code>\[<br />  \{<br />    "attribute": "name",<br />    "order": "ASC",<br />    "emptyAtLast": true<br />  }<br />]</code></pre>                                                                                                                                                                                                  |
</div>

## Example Output

```json theme={"dark"}
{
	"data": {
		"getAlertList": {
			"alerts": [
				{
					"id": "5150178940650622977",
					"message": "Low Disk Space",
					"createdTime": "2021-12-18T15:35",
					"status": "Resolved",
					"severity": "Critical",
					"description": "Actual free disk space at 2021-12-18T10:05 UTC is [c: : 17.0%] Alert condition:  Disk free space is less than 30.0% for 10 minutes",
					"asset": {
						"name": "Michael's Desktop",
						"assetId": "4293925678745489408",
						"owner": {
							"name": "Micheal Scott",
							"email": "micheal.scott@dundermifflin.com"
						},
						"client": {
							"accountId": "6027178065955405824",
							"name": "winkops"
						},
						"site": {
							"id": "6028532731314192384",
							"name": "Michigan"
						}
					},
					"policy": {
						"name": "Low Disk Space",
						"policyType": "Hardware Performance Monitoring"
					},
					"resolvedTime": null
				}
			],
			"listInfo": {
				"page": 1,
				"pageSize": 1,
				"sort": null,
				"condition": null,
				"hasMore": true,
				"totalCount": 5
			}
		}
	}
}
```

## Workflow Library Example

[List Alerts with Superops and Send Results Via Email](https://library.blinkops.com/workflows/list-alerts-with-superops-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-alerts-with-superops-and-send-results-via-email/canvas" />
</div>
