> ## 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 and query all alerts.

<Note>
  External Documentation

  To learn more, visit the [Acronis documentation](https://developer.acronis.com/doc/alerts/v1/reference/index.html#docs/method/#/web-api/endpoint/%2Falerts/get).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
  | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | Query     | A free text query string to search within the `planName` or `resourceName` fields of the alerts.                                                                                                                                                                                                                                                                                                                                                                         |
  | Severity  | Filter by the alert severity. Use the following operators:<br /> \* **eq** - equals to value<br /> \* **or** - equals to one or more value<br /> \* **lt** - less than a value<br /> \* **gt** - greater than a value<br /> \* **le** - less than or equals to a value<br /> \* **ge** - greater than or equals to a value<br /> <br /> The available values are:<br /> \* **ok**<br /> \* **information**<br /> \* **warning**<br /> \* **error**<br /> \* **critical** |
  | Source    | Filter by the source of the alert.                                                                                                                                                                                                                                                                                                                                                                                                                                       |
  | Type      | A comma-separated list or JSON list of alert types to query by. Can be obtained by the `List Alert Types` action.                                                                                                                                                                                                                                                                                                                                                        |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter         | Description                                                                                                                                                                                                                                                                                                                                                                                                                          |
  | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | Category          | Filter by the category of the alert.                                                                                                                                                                                                                                                                                                                                                                                                 |
  | Created At        | Filter by created at timestamp. Use the following operators:<br />\* **eq** - Equals<br />\* **lt** - Less than<br />\* **gt** - greater than<br />\* **le** - Less than or equals<br />\* **ge** - Greater than or equals.                                                                                                                                                                                                          |
  | Deleted At        | Filter by when the alert was dismissed. Use the following operators:<br />\* **eq** - Equals<br />\* **lt** - Less than<br />\* **gt** - greater than<br />\* **le** - Less than or equals<br />\* **ge** - Greater than or equals.                                                                                                                                                                                                  |
  | IDs               | A comma-separated list or JSON list of IDs of alerts to be return.                                                                                                                                                                                                                                                                                                                                                                   |
  | Limit             | Limit the amount of results that are returned.                                                                                                                                                                                                                                                                                                                                                                                       |
  | Order             | Set the order that the alerts will be returned in.<br />Use the following values:<br />\* **created\_at**<br />\* **type**<br />\* **severity**<br />\* **source**<br />\* **source\_time\_stamp**<br />\* **updated\_at**<br />\* **deleted\_at**<br />\* **category**<br />\* **planId**<br />\* **planName**<br />\* **resourceId**<br />\* **resourceName**<br /><br />The available operators:<br />\* **asc**<br />\* **desc** |
  | Plan IDs          | A comma-separated list or JSON list of plan IDs to query by. Note that it is case sensitive.                                                                                                                                                                                                                                                                                                                                         |
  | Plan Names        | A comma-separated list or JSON list of plan names to query by. Note that it is case sensitive.                                                                                                                                                                                                                                                                                                                                       |
  | Resource IDs      | A comma-separated list or JSON list of resource IDs to query by. Note that it is case sensitive.                                                                                                                                                                                                                                                                                                                                     |
  | Resource Names    | A comma-separated list or JSON list of resource names to query by. Note that it is case sensitive.                                                                                                                                                                                                                                                                                                                                   |
  | Show Deleted      | If true, dismissed alerts will be included in the response.                                                                                                                                                                                                                                                                                                                                                                          |
  | Show Deleted Only | If true, only dismissed alerts will be included in the response.                                                                                                                                                                                                                                                                                                                                                                     |
  | Skip IDs          | A comma-separated list or JSON list of IDs of the alerts to exclude from the response.                                                                                                                                                                                                                                                                                                                                               |
  | Source Time Stamp | Filter by timestamp that was provided by an alert producer. Use the following operators:<br />\* **eq** - Equals<br />\* **lt** - Less than<br />\* **gt** - greater than<br />\* **le** - Less than or equals<br />\* **ge** - Greater than or equals.                                                                                                                                                                              |
  | Tenants           | A comma-separated list or JSON list of tenant IDs to query by.                                                                                                                                                                                                                                                                                                                                                                       |
  | Updated At        | Filter by updated at timestamp. Use the following operators:<br />\* **eq** - Equals<br />\* **lt** - Less than<br />\* **gt** - greater than<br />\* **le** - Less than or equals<br />\* **ge** - Greater than or equals.                                                                                                                                                                                                          |
</div>

## Example Output

```json theme={"dark"}
{
	"items": [
		{
			"id": "01C2D69A-112B-4DE1-98AE-8688223C5F4B",
			"type": "BackupFailed",
			"details": {
				"activity": {
					"id": "D028B06E-36D6-43FF-9242-35E8A9917E3A"
				},
				"activityId": "D028B06E-36D6-43FF-9242-35E8A9917E3A"
			},
			"createdAt": "2021-04-05T20:41:41Z",
			"_source": "6852F263-2B5E-48BF-B78B-486182D9BDBE",
			"_sourceTimeStamp": 3246,
			"severity": "critical",
			"receivedAt": "2021-04-01T22:16:19.71025511Z",
			"updatedAt": "2021-04-05T20:41:42.352636392Z",
			"tenant": {
				"id": "56",
				"locator": "/1/50/53/56/"
			},
			"category": "Backup"
		},
		{
			"id": "BACA9625-A993-4722-B03F-F2807C85E76F",
			"type": "DrInternetTrafficUnblocked",
			"details": {},
			"createdAt": "2021-04-05T23:41:55.089638934Z",
			"severity": "warning",
			"receivedAt": "2021-04-05T23:41:55.089638324Z",
			"updatedAt": "2021-04-05T23:41:55.089638934Z",
			"tenant": {
				"id": "1",
				"locator": "/1/"
			},
			"category": "Disaster recovery"
		},
		{
			"id": "CBE8B43A-70C9-4343-B942-82D56E34FDF0",
			"type": "DrInternetTrafficUnblocked",
			"details": {},
			"createdAt": "2021-04-01T14:19:32.202462769Z",
			"severity": "warning",
			"receivedAt": "2021-04-01T14:19:32.202461826Z",
			"updatedAt": "2021-04-01T14:19:32.202462769Z",
			"tenant": {
				"id": "1",
				"locator": "/1/"
			},
			"category": "Disaster recovery"
		}
	],
	"paging": {
		"cursors": {}
	}
}
```

## Workflow Library Example

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