---
updatedAt: 2025-06-17T22:10:27.000Z
agentTools:
  projectIndex: https://developer.druva.com/llms.txt
---

# List of Alerts by type

Returns a paginated list of all alerts of the specified type

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "3.0",
    "title": "Enterprise Workloads GovCloud"
  },
  "x-explorer-enabled": true,
  "paths": {
    "/alerts/v1/orgs/{OrgID}/alerts/{type}": {
      "get": {
        "description": "Returns a paginated list of all alerts of the specified type",
        "tags": [
          "Alerts"
        ],
        "security": [
          {
            "Bearer": []
          }
        ],
        "summary": "List of Alerts by type",
        "operationId": "ListAlertsByTypeRequest",
        "parameters": [
          {
            "name": "OrgID",
            "description": "Specify the organization ID of your organization. Set it to \"0\" to select all organizations. Get the ID of an organization using the 'List all organizations' API.",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "type",
            "description": "Specify the alert type. This parameter can be set to one of the following values: cloudcache, license, jobs, upgrade, configuration, seeding, oracle, billing.",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "workloadType",
            "description": "Specify the type of the workload for which you want to see the alerts. This parameter can be set to one of the following values: fs, sql, nas, hyperv, vmware, or oracle.",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "minGeneratedOn",
            "description": "Specify the lower bound value of the time window. The time should be specified in the UTC format and must be greater than the value of (current time - 6 months). The format of this parameter is YYYY-MM-DDTHH:MM:SSZ.",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "maxGeneratedOn",
            "description": "Specify the upper bound value of the time window. The time should be specified in the UTC format and must be greater than the value of (current time - 6 months). The format of this parameter is YYYY-MM-DDTHH:MM:SSZ.",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "resourceType",
            "description": "Specify the type of the resource. This parameter can be set to one of the following values: physicalServer, vmwareVM, hyperVM, nasShare, sqlAvailabilityGroup, sqlStandaloneInstance, or oracle.",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "resourceID",
            "description": "Specify the resource ID of the resource.",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "pageToken",
            "description": "Specify the token to access the next page of results. Keep this field blank in the first request. Use the token value received in the previous response's parameter 'nextPageToken'.",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Result schema for 200 Response of GET ListAlerts",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListAlertsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "The request did not include an authentication token or the authentication token was expired."
          },
          "403": {
            "description": "Forbidden"
          },
          "404": {
            "description": "The requested resource was not found."
          },
          "500": {
            "description": "The request was not processed due to an internal error in Cloud.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceError"
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "//govapis.druva.com/phoenix"
    }
  ],
  "components": {
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header"
      }
    },
    "schemas": {
      "ServiceError": {
        "description": "Service Error",
        "type": "object",
        "title": "ServiceError represents an error with an associated error code.",
        "properties": {
          "code": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "Code",
            "description": "Error Code"
          },
          "message": {
            "type": "string",
            "description": "Application specific error message"
          }
        },
        "x-go-package": "vendor/druva.com/godevkit/errortype"
      },
      "ListAlertsResponse": {
        "description": "Includes an array of alerts",
        "type": "object",
        "properties": {
          "alerts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Alert"
            }
          },
          "nextPageToken": {
            "type": "string"
          }
        }
      },
      "Alert": {
        "description": "Includes generic alert details",
        "type": "object",
        "properties": {
          "id": {
            "description": "Alert ID",
            "type": "integer",
            "format": "int32",
            "example": 1
          },
          "type": {
            "description": "Alert type, for example, jobs, storage, and cloudcache.",
            "type": "string",
            "example": "jobs"
          },
          "subtype": {
            "description": "Alert subtype, for example, backupFailures, and restoreFailures.",
            "type": "string",
            "example": "backupFailures"
          },
          "generatedOn": {
            "description": "Alert generation timestamp. The format is YYYY-MM-DDTHH:MM:SSZ.",
            "type": "string",
            "example": "2019-07-09T05:08:16Z"
          },
          "OrgID": {
            "description": "Organization ID",
            "type": "integer",
            "format": "int32",
            "example": 1
          },
          "workloadType": {
            "description": "Type of the workload. The value can be fs, sql, nas, vmware, hyperv, or oracle.",
            "type": "string",
            "example": "vmware"
          },
          "targetType": {
            "description": "Target type of the alert",
            "type": "string",
            "example": "jobs"
          },
          "targetID": {
            "description": "Target ID of the alert. In the case of job alerts, targetID is same as the jobID of the job.",
            "type": "integer",
            "format": "int32",
            "example": 1
          },
          "resourceType": {
            "description": "Type of resource. The value can be physicalServer, vmwareVM, hyperVM, nasShare, sqlAvailabilityGroup, sqlStandaloneInstance, or oracle.",
            "type": "string",
            "example": "device"
          },
          "resourceName": {
            "description": "Name of the resource.",
            "type": "string",
            "example": "hostname"
          },
          "status": {
            "description": "The status of the alert. The value can be resolved or active.",
            "type": "string",
            "example": "active"
          },
          "resolutionTime": {
            "description": "Alert resolution timestamp. The format is YYYY-MM-DDTHH:MM:SSZ.",
            "type": "string",
            "example": "NA"
          },
          "severity": {
            "description": "Severity of the alert. The value can be critical, warning, or info.",
            "type": "string",
            "example": "critical"
          }
        }
      }
    }
  }
}
```