---
title: "View Alert History Report"
method: POST
path: "/msp/reporting/v1/reports/mspEWAlertHistory"
tags: ["Enterprise Workloads Reports"]
---

# View Alert History Report

`POST /msp/reporting/v1/reports/mspEWAlertHistory`

Provides a view of alerts details of MSP customers as per severity and type. This API may be updated without any prior notification. Check the API documentation for the latest updates regularly.

## Headers

- `Authorization` string, required

## Request body

- object
  - `filters` object
    - `pageSize` integer — Specify the maximum number of records that should returned in a response. Maximum limit is 500 records. Default pageSize is 100.
    - `filterBy` object[] — Select the filters to be applied to the report. If you do not specify a date filter, the lastUpdatedTime filter is set to 1 day by default.
      - `fieldName` 'customerGlobalId' | 'accountName' | 'customerName' | 'generated' | 'description' | 'target' | 'resolved' | 'alertType' | 'severity' | 'lastUpdatedTime' | 'organization' — Specify the name of the filter.
      - `operator` 'EQUAL' | 'GT' | 'GTE' | 'LT' | 'LTE' | 'CONTAINS' | 'NOTEQUAL' — Specify the operator(s) for the report. The possible values are - EQUAL, NOTEQUAL, CONTAINS, LT (less-than), LTEQ (less-than-or-equal), GT (greater-than), GTEQ (greater-than-or-equal).
      - `value` union — Specify the value of the filter applied to the report.
        - string — string
        - integer — integer
        - string[] — array of strings
        - integer[] — array of integers
  - `pageToken` string — Specify the token to access the results on the next page. Keep this field blank for the first request. To view the results on the next page, use the value received in the 'nextPageToken' parameter of the previous response.

## Response `200`

Success

- GetAlertHistoryReportDataResponse
  - `data` AlertHistoryReportData[]
    - `customerGlobalId` string — Unique ID of the customer.
    - `accountName` string — Account name defined for the customer
    - `customerName` string — Customer name defined for the customer
    - `generated` string, date-time — The date and time, in UTC format, when the alerts were first triggered.
    - `description` string — The details of the generated alert.
    - `target` string — The resource for which the alert was triggered.
    - `resolved` string — The number of resolved alerts.
    - `alertType` string — The type of alert generated. For example, Jobs.
    - `severity` string — The severity of the alert. For example, Critical, Info, Warning, and so on.
    - `lastUpdatedTime` string, date-time — The last updated time of a report, in the UTC format.
    - `organization` string — The name of the organization.
  - `lastSyncTimestamp` string, date-time — Time stamp of the report data, in UTC format.
  - `filters` object — The filters applied on the report.
  - `nextPageToken` string — The token to access the next page of results. This parameter will be empty for the last page of the results. This token is valid for 5 minutes.

## Other responses

- `400` — Bad Request
- `404` — The requested resource was not found.
- `500` — The request was not processed due to an internal error.

---

[API](https://skmtc.net/druva/apis/authentication.md) · [All operations](https://skmtc.net/druva/apis/authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/druva/authentication/versions/2af2bf148b25/schema)
