---
title: "Get Report"
method: POST
path: "/reporting/{version}/reports/{reportID}"
tags: ["Reports"]
---

# Get Report

`POST /reporting/{version}/reports/{reportID}`

Returns the selected report. Use the report ID field to specify the report that you want to fetch. By default the report provides the data for last 24 hours if no date/time filters are selected. For more information, see [guides on the Reports API](/docs/getting-started-with-reports-api).

## Path parameters

- `reportID` 'dgDataProtectionRisk' | 'dgRollbackActions' | 'dgUnusualDataActivityAlerts' | 'dgDataAccessEvents' | 'dgAdminLoginEvents' | 'dgQuarantineResources' | 'dgMaliciousScanJob' | 'dgCuratedSnapshots' | 'dgeDiscoveryDownloadJobsReport' | 'dgGlobalCustodianReport' | 'dgNonCompliantFileReport' | 'dgArchivedNonCompliantFileReport' | 'dgNonCompliantEmailReport' | 'dgArchivedNonCompliantEmailReport' | 'dgDefensibleDeleteForFilesReport' | 'dgDefensibleDeleteForEmailsReport' | 'epAlert' | 'epDeletedDevice' | 'epInactiveDevices' | 'epLastBackupStatus' | 'epLicenseUsage' | 'epPreservedUsersDatasources' | 'epRestoreActivity' | 'epSharedDevices' | 'epUpgradeActivity' | 'epUserProvisioning' | 'epUserRollout' | 'epUsers' | 'epStorageConsumption' | 'ewAdminAuditTrails' | 'ewAlertHistory' | 'ewBackupActivity' | 'ewDisasterRecoveryFailbackActivity' | 'ewDisasterRecoveryFailoverActivity' | 'ewDisasterRecoveryReplicationActivity' | 'ewResourceStatus' | 'ewRestoreActivity' | 'ewStorageConsumptionbyBackupSets' | 'm365SharePointSiteDiscovery' | 'm365TeamsDiscovery' | 'm365GroupsDiscovery' | 'm365Alerts' | 'm365LicenseUsage' | 'm365PreservedUsersDatasources' | 'm365StorageConsumption' | 'm365UserCountAndStatus' | 'm365UserLastBackupStatus' | 'm365UserProvisioning' | 'm365UserRestoreActivity' | 'm365UserWorkload' | 'm365SharePointBackupActivity' | 'm365SharePointRestoreActivity' | 'm365TeamsBackupActivity' | 'm365TeamsRestoreActivity' | 'm365GroupsBackupActivity' | 'm365GroupsRestoreActivity' | 'm365PublicFolderBackupActivity' | 'm365PublicFolderRestoreActivity' | 'googleAlerts' | 'googleLicenseUsage' | 'googlePreservedUsersDatasources' | 'googleStorageConsumption' | 'googleUserCountAndStatus' | 'googleUserLastBackupStatus' | 'googleUserProvisioning' | 'googleUserRestoreActivity' | 'googleUserWorkload' | 'googleSharedDriveBackupActivity' | 'googleSharedDriveRestoreActivity' | 'sfdcArchivalActivity' | 'sfdcArchivalRestoreActivity' | 'sfdcBackupActivity' | 'sfdcDataRestoreActivity' | 'sfdcSandboxSeedingActivity', required
- `version` 'v1' | 'v2', required

## Headers

- `Content-Type` 'application/json', required

## Request body

- ReportsReportIDBody
  - `filters` ReportingversionreportsreportIDFilters
    - `pageSize` integer — Specify the maximum number of records that should returned in a response. Maximum limit is 500 records. Default pageSize is 100.
    - `filterBy` ReportingversionreportsreportIDFiltersFilterBy[] — 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` string — Specify the name of the filter. TBD
      - `operator` 'EQUAL' | 'GT' | 'GTE' | 'LT' | 'LTE' | 'CONTAINS' | 'NOTEQUAL' — The operators that are supported for the filter 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

- GetReportDataResponse
  - `data` ReportData[]
  - `lastSyncTimestamp` string, date-time — Time stamp until which report data is returned in the API. The time is in the UTC time zone.
  - `filters` object — 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)
