Get reports on Google Workspace

The reports that provide data on Google Workspace

Alert Report

View details like alert types, severities, occurrence dates, and more, along with a summary of generated alerts.

URL

https://apis.druva.com/platform/reporting/v1/reports/googleAlerts

Request type

HTTP POST

Sample cURL request

curl --request POST \
     --url https://apis.druva.com/platform/reporting/v1/reports/googleAlerts \
     --header 'Content-Type: application/json' \
     --header 'accept: application/json' \
     --data '
{
  "filters": {
      {
        "fieldName": "lastUpdatedTime",
        "value": "2025-01-07T09:21:35Z",
         "operator": "lte"
      },
      {
        "fieldName": "alertId",
        "operator": "EQUAL",
        "value": 4574
      },
      {
        "fieldName": "entity",
        "operator": "EQUAL",
        "value": "09Oct"
      },
      {
        "fieldName": "alertDetails",
        "operator": "EQUAL",
        "value": "Google Shared Drives Backup Failed"
      },
      {
        "fieldName": "severity",
        "operator": "EQUAL",
        "value": "Warning"
      },
      {
        "fieldName": "isActive",
        "operator": "EQUAL",
        "value": "Yes"
      },
      {
        "fieldName": "isDeleted",
        "operator": "EQUAL",
        "value": 0
      }
    ]
  }
}'

To try out this API, refer API reference.

πŸ“˜

Note

On the API reference page, select googleAlerts as the report ID under path params to test this API endpoint.

Sample responses

{
  "data": [
    {
      "alertDetails": "Google Shared Drives Backup Failed",
      "alertId": 4574,
      "entity": "09Oct",
      "firstOccurrence": "2024-07-17T16:22:49.000Z",
      "isActive": "Yes",
      "isDeleted": 0,
      "lastUpdatedTime": "2024-07-17T16:22:49.000Z",
      "latestOccurrence": "2024-07-23T05:45:20.000Z",
      "severity": "Warning"
    }
  ],
  "filters": {
    "pageSize": 500,
    "filterBy": [
      {
        "fieldName": "lastUpdatedTime",
        "value": "2025-01-07T09:21:35Z",
        "operator": "lte"
      },
      {
        "fieldName": "alertId",
        "value": 4574,
        "operator": "EQUAL"
      },
      {
        "fieldName": "entity",
        "value": "09Oct",
        "operator": "EQUAL"
      },
      {
        "fieldName": "alertDetails",
        "value": "Google Shared Drives Backup Failed",
        "operator": "EQUAL"
      },
      {
        "fieldName": "severity",
        "value": "Warning",
        "operator": "EQUAL"
      },
      {
        "fieldName": "isActive",
        "value": "Yes",
        "operator": "EQUAL"
      },
      {
        "fieldName": "isDeleted",
        "value": 0,
        "operator": "EQUAL"
      }
    ]
  },
  "lastSyncTimestamp": "2024-08-20T08:00:34Z",
  "nextPageToken": ""
}
FieldTypeDescription
dataarray of objectsThe collection of site discovery data.
lastUpdatedTimedate-timeThe last updated time stamp for the record. Format: YYYY-MM-DDTHH:MM:SSZ (UTC).
alertIdintegerThe unique identifier of the alert stored in the database.
entitystringThe workload or entity associated with the alert.
alertDetailsstringThe alert details, including status and updated values.
severitystringThe alert severity level. Possible values: Warning, Critical, High.
firstOccurrencedate-timeThe timestamp of the alert's first occurrence. Format: YYYY-MM-DDTHH:MM:SSZ (UTC).
latestOccurrencedate-timeThe timestamp of the alert's latest occurrence. Format: YYYY-MM-DDTHH:MM:SSZ (UTC).
isActivestringThe alert's active status. Possible values: Yes, No.
isDeletedintegerIndicates whether the alert is deleted from the database.
filtersobjectThe filters applied on the report.
nextPageTokenstringThe 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.
{
  "code": "string",
  "data": {
    "additionalProp": {}
  },
  "message": "string",
  "retryable": true
}
FieldTypeDescription
codestringError code.
dataobjectData of the error.
messagestringError message.
retryablebooleanCan retry the API call (true for yes and false for no.)

License Usage Report

View the weekly and monthly count of total active and preserved licenses allocated and consumed.

URL

https://apis.druva.com/platform/reporting/v1/reports/googleLicenseUsage

Request type

HTTP POST

Sample cURL request

curl --request POST \
     --url https://apis.druva.com/platform/reporting/v1/reports/googleLicenseUsage \
     --header 'Content-Type: application/json' \
     --header 'accept: application/json' \
     --data '
{
  "filters": {
    "pageSize": 500,
    "filterBy": [
      {
        "fieldName": "period",
        "operator": "EQUAL",
        "value": "month"
      }
 ]
  }
}'

To try out this API, refer API reference.

πŸ“˜

Note

On the API reference page, select googleLicenseUsage as the report ID under path params to test this API endpoint.

Sample responses

{
    "data": [
        {
            "activeLicenseUsed": 0,
            "endDate": "2024-09-30T23:59:59.000Z",
            "period": "month",
            "preservedLicenseUsed": 0,
            "startDate": "2024-09-01T00:00:00.000Z",
            "totalActiveLicense": 100,
            "totalPreservedLicense": 20,
            "usersAdded": 0,
            "usersDeleted": 0
        },
        {
            "activeLicenseUsed": 0,
            "endDate": "2024-12-31T23:59:59.000Z",
            "period": "month",
            "preservedLicenseUsed": 0,
            "startDate": "2024-12-01T00:00:00.000Z",
            "totalActiveLicense": 100,
            "totalPreservedLicense": 20,
            "usersAdded": 0,
            "usersDeleted": 0
        },
        {
            "activeLicenseUsed": 0,
            "endDate": "2024-06-30T23:59:59.000Z",
            "period": "month",
            "preservedLicenseUsed": 0,
            "startDate": "2024-06-01T00:00:00.000Z",
            "totalActiveLicense": 100,
            "totalPreservedLicense": 20,
            "usersAdded": 1895,
            "usersDeleted": 951
        },
        {
            "activeLicenseUsed": 0,
            "endDate": "2024-02-29T23:59:59.000Z",
            "period": "month",
            "preservedLicenseUsed": 0,
            "startDate": "2024-02-01T00:00:00.000Z",
            "totalActiveLicense": 100,
            "totalPreservedLicense": 20,
            "usersAdded": 0,
            "usersDeleted": 0
        },
        {
            "activeLicenseUsed": 0,
            "endDate": "2024-11-30T23:59:59.000Z",
            "period": "month",
            "preservedLicenseUsed": 0,
            "startDate": "2024-11-01T00:00:00.000Z",
            "totalActiveLicense": 100,
            "totalPreservedLicense": 20,
            "usersAdded": 0,
            "usersDeleted": 0
        },
        {
            "activeLicenseUsed": 0,
            "endDate": "2024-10-31T23:59:59.000Z",
            "period": "month",
            "preservedLicenseUsed": 0,
            "startDate": "2024-10-01T00:00:00.000Z",
            "totalActiveLicense": 100,
            "totalPreservedLicense": 20,
            "usersAdded": 0,
            "usersDeleted": 22
        },
        {
            "activeLicenseUsed": 0,
            "endDate": "2024-05-31T23:59:59.000Z",
            "period": "month",
            "preservedLicenseUsed": 0,
            "startDate": "2024-05-01T00:00:00.000Z",
            "totalActiveLicense": 100,
            "totalPreservedLicense": 20,
            "usersAdded": 17,
            "usersDeleted": 9
        },
        {
            "activeLicenseUsed": 0,
            "endDate": "2024-04-30T23:59:59.000Z",
            "period": "month",
            "preservedLicenseUsed": 0,
            "startDate": "2024-04-01T00:00:00.000Z",
            "totalActiveLicense": 100,
            "totalPreservedLicense": 20,
            "usersAdded": 0,
            "usersDeleted": 1
        },
        {
            "activeLicenseUsed": 0,
            "endDate": "2024-03-31T23:59:59.000Z",
            "period": "month",
            "preservedLicenseUsed": 0,
            "startDate": "2024-03-01T00:00:00.000Z",
            "totalActiveLicense": 100,
            "totalPreservedLicense": 20,
            "usersAdded": 17,
            "usersDeleted": 1
        },
        {
            "activeLicenseUsed": 0,
            "endDate": "2024-07-31T23:59:59.000Z",
            "period": "month",
            "preservedLicenseUsed": 0,
            "startDate": "2024-07-01T00:00:00.000Z",
            "totalActiveLicense": 100,
            "totalPreservedLicense": 20,
            "usersAdded": 892,
            "usersDeleted": 0
        },
        {
            "activeLicenseUsed": 0,
            "endDate": "2024-08-31T23:59:59.000Z",
            "period": "month",
            "preservedLicenseUsed": 0,
            "startDate": "2024-08-01T00:00:00.000Z",
            "totalActiveLicense": 100,
            "totalPreservedLicense": 20,
            "usersAdded": 2,
            "usersDeleted": 6
        }
    ],
    "filters": {
        "pageSize": 500,
        "filterBy": [
            {
                "fieldName": "period",
                "value": "month",
                "operator": "EQUAL"
            }
        ]
    },
    "lastSyncTimestamp": "2025-01-17T09:18:20Z",
    "nextPageToken": ""
}	
FieldTypeDescription
dataarray of objectsThe collection of site discovery data.
periodstringRecords are categorized by duration: week or month. User count variations are segmented based on these periods.
startDatedate-timeThe start date of the specified week or month.
endDatedate-timeThe end date of the specified week or month.
usersAddedintegerThe number of users added within the specified period.
usersDeletedintegerThe number of users deleted within the specified period.
totalActiveLicenseintegerThe total number of licenses active within the specified period.
activeLicenseUsedintegerThe total number of licenses used within the specified period.
totalPreservedLicenseintegerThe total number of preserved licenses allocated within the specified period.
preservedLicenseUsedintegerThe total number of preserved licenses used within the specified period.
filtersobjectThe filters applied on the report.
nextPageTokenstringThe 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.
{
  "code": "string",
  "data": {
    "additionalProp": {}
  },
  "message": "string",
  "retryable": true
}
FieldTypeDescription
codestringError code.
dataobjectData of the error.
messagestringError message.
retryablebooleanCan retry the API call (true for yes and false for no.)

Preserved Users Datasources Report

View details about preserved users across SaaS Apps including consumed workloads, preservation date, and more.

URL

https://apis.druva.com/platform/reporting/v1/reports/googlePreservedUsersDatasources

Request type

HTTP POST

Sample cURL request

"curl --request POST \
     --url https://apis.druva.com/platform/reporting/v1/reports/googlePreservedUsersDatasources \
     --header 'Content-Type: application/json' \
     --header 'accept: application/json' \
     --data '
{
  "filters": {
    "pageSize": 500,
    "filterBy": [
      {
        "fieldName": "lastUpdatedTime",
        "value": "2025-01-07T09:21:35Z",
         "operator": "lte"
      }   
    ]
  }
}'

To try out this API, refer API reference.

πŸ“˜

Note

On the API reference page, select googlePreservedUsersDatasources as the report ID under path params to test this API endpoint.

Sample responses

	{
    "data": [
        {
            "autoDeleteOn": "-",
            "googleLicenseState": "-",
            "lastUpdatedTime": "2024-08-01T04:34:05.000Z",
            "mode": "Manual",
            "preserveLicenseAllocated": 20,
            "preservedOn": "2024-08-01T04:34:05.000Z",
            "profileId": 55,
            "profileName": "Default",
            "totalBackupData": 0,
            "userEmail": "1234re5678@druvadatasoftware.onmicrosoft.com",
            "userName": "abhi singh"
        }
    ],
    "filters": {
        "pageSize": 500,
        "filterBy": [
            {
                "fieldName": "lastUpdatedTime",
                "value": "2025-01-07T09:21:35Z",
                "operator": "lte"
            }
        ]
    },
    "lastSyncTimestamp": "2024-12-24T07:51:04Z",
    "nextPageToken": ""
}
FieldTypeDescription
dataarray of objectsThe collection of site discovery data.
lastUpdatedTimedate-timeThe last updated time stamp for the record. Format: YYYY-MM-DDTHH:MM:SSZ (UTC).
userNamestringThe name of the user associated with the workload.
userEmailstringThe email address of the user associated with the workload.
profileIdintegerThe unique identifier of the profile associated with the user.
profileNamestringThe name of the profile associated with the user.
googleLicenseStatestringThe category of the user. Possible values: Active Licensed Users, Preserve Licensed Users.
totalBackupDataintegerThe total backup data of the user to date.
preservedOndate-timeThe timestamp when the user was marked as preserved. Format: YYYY-MM-DDTHH:MM:SSZ (UTC).
modestringThe onboarding method for the user. Possible values: Manual, GOOGLEDIRECTORY, AZUREAD, AD/LDAP, SCIM, Upgrade.
autoDeleteOndate-timeThe timestamp when the user is scheduled for automatic deletion. Format: YYYY-MM-DDTHH:MM:SSZ (UTC).
preserveLicenseAllocatedintegerThe total number of preserved user licenses allocated to the customer.
filtersobjectThe filters applied on the report.
nextPageTokenstringThe 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.
{
  "code": "string",
  "data": {
    "additionalProp": {}
  },
  "message": "string",
  "retryable": true
}
FieldTypeDescription
codestringError code.
dataobjectData of the error.
messagestringError message.
retryablebooleanCan retry the API call (true for yes and false for no.)

Google Shared Drive Backup Activity Report

View daily trends & details of all backup activities performed on Google Shared Drive.

URL

https://apis.druva.com/platform/reporting/v1/reports/googleSharedDriveBackupActivity

Request type

HTTP POST

Sample cURL request

"curl --request POST \
     --url https://apis.druva.com/platform/reporting/v1/reports/googleSharedDriveBackupActivity \
     --header 'Content-Type: application/json' \
     --header 'accept: application/json' \
     --data '
{
  "filters": {
      {
        "fieldName": "lastUpdatedTime",
        "value": "2025-01-07T09:21:35Z",
         "operator": "lte"
      },
      {
        "fieldName": "jobId",
        "operator": "EQUAL",
        "value": 2039
      },
      {
        "fieldName": "driveName",
        "operator": "EQUAL",
        "value": "05Oct2023"
      },
      {
        "fieldName": "administrator",
        "operator": "EQUAL",
        "value": "Rohit Patil"
      },
      {
        "fieldName": "startTime",
        "operator": "EQUAL",
        "value": "2024-03-04T10:51:03.000Z"
      },
      {
        "fieldName": "endTime",
        "operator": "EQUAL",
        "value": "2024-03-04T10:52:48.000Z"
      },
      {
        "fieldName": "filesBackedUp",
        "operator": "EQUAL",
        "value": 0
      },
      {
        "fieldName": "filesMissed",
        "operator": "EQUAL",
        "value": 0
      },
      {
        "fieldName": "snapshotSize",
        "operator": "EQUAL",
        "value": 45330357
      },
      {
        "fieldName": "appStatus",
        "operator": "EQUAL",
        "value": "Disabled"
      },
      {
        "fieldName": "backupStatus",
        "operator": "EQUAL",
        "value": "Backed Up Successfully"
      }
    ]
  }
}'

To try out this API, refer API reference.

πŸ“˜

Note

On the API reference page, select googleSharedDriveBackupActivity as the report ID under path params to test this API endpoint.

Sample responses

	{
    "data": [
        {
            "administrator": "Rohit Patil",
            "appStatus": "Disabled",
            "backupStatus": "Backed Up Successfully",
            "driveName": "05Oct2023",
            "endTime": "2024-03-04T10:52:48.000Z",
            "filesBackedUp": 0,
            "filesMissed": 0,
            "jobId": 2039,
            "lastUpdatedTime": "2024-03-04T10:52:48.000Z",
            "snapshotSize": 45330357,
            "startTime": "2024-03-04T10:51:03.000Z"
        }
    ],
    "filters": {
        "pageSize": 100,
        "filterBy": [
            {
                "fieldName": "lastUpdatedTime",
                "value": "2025-01-07T09:21:35Z",
                "operator": "lte"
            },
            {
                "fieldName": "jobId",
                "value": 2039,
                "operator": "EQUAL"
            },
            {
                "fieldName": "driveName",
                "value": "05Oct2023",
                "operator": "EQUAL"
            },
            {
                "fieldName": "administrator",
                "value": "Rohit Patil",
                "operator": "EQUAL"
            },
            {
                "fieldName": "startTime",
                "value": "2024-03-04T10:51:03.000Z",
                "operator": "EQUAL"
            },
            {
                "fieldName": "endTime",
                "value": "2024-03-04T10:52:48.000Z",
                "operator": "EQUAL"
            },
            {
                "fieldName": "filesBackedUp",
                "value": 0,
                "operator": "EQUAL"
            },
            {
                "fieldName": "filesMissed",
                "value": 0,
                "operator": "EQUAL"
            },
            {
                "fieldName": "snapshotSize",
                "value": 45330357,
                "operator": "EQUAL"
            },
            {
                "fieldName": "appStatus",
                "value": "Disabled",
                "operator": "EQUAL"
            },
            {
                "fieldName": "backupStatus",
                "value": "Backed Up Successfully",
                "operator": "EQUAL"
            }
        ]
    },
    "lastSyncTimestamp": "2024-08-20T08:19:13Z",
    "nextPageToken": ""
}
FieldTypeDescription
dataarray of objectsThe collection of site discovery data.
lastUpdatedTimedate-timeThe last updated time stamp for the record. Format: YYYY-MM-DDTHH:MM:SSZ (UTC).
jobIdintegerThe unique identifier of the activity stored in the database.
driveNamestringThe name of the drive associated with the activity.
administratorstringThe name of the administrator who triggered the activity.
startTimedate-timeThe timestamp when the activity started. Format: YYYY-MM-DDTHH:MM:SSZ (UTC).
endTimedate-timeThe timestamp when the activity ended. Format: YYYY-MM-DDTHH:MM:SSZ (UTC).
filesBackedUpintegerThe number of files successfully backed up during the activity.
filesMissedintegerThe number of files that failed to back up during the activity.
snapshotSizeintegerThe total amount of data backed up during the activity, in bytes.
appStatusstringThe status of the drive associated with the activity.
backupStatusstringThe backup status of the activity.
filtersobjectThe filters applied on the report.
nextPageTokenstringThe 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.
{
  "code": "string",
  "data": {
    "additionalProp": {}
  },
  "message": "string",
  "retryable": true
}
FieldTypeDescription
codestringError code.
dataobjectData of the error.
messagestringError message.
retryablebooleanCan retry the API call (true for yes and false for no.)

Google Shared Drive Restore Activity Report

View daily trends & details of all restore activities performed on Google Shared Drive.

URL

https://apis.druva.com/platform/reporting/v1/reports/googleSharedDriveRestoreActivity

Request type

HTTP POST

Sample cURL request

"curl --request POST \
     --url https://apis.druva.com/platform/reporting/v1/reports/googleSharedDriveRestoreActivity \
     --header 'Content-Type: application/json' \
     --header 'accept: application/json' \
     --data '
{
  "filters": {
    "pageSize": 100,
    "filterBy": [
      {
        "fieldName": "lastUpdatedTime",
        "value": "2025-01-07T09:21:35Z",
         "operator": "lte"
      },
      {
        "fieldName": "jobId",
        "operator": "EQUAL",
        "value": 2180
      },
      {
        "fieldName": "accountTitle",
        "operator": "EQUAL",
        "value": "05Oct2023"
      },
      {
        "fieldName": "administrator",
        "operator": "EQUAL",
        "value": "Rohit Patil"
      },
      {
        "fieldName": "startTime",
        "operator": "EQUAL",
        "value": "2024-03-08T06:09:17.000Z"
      },
      {
        "fieldName": "endTime",
        "operator": "EQUAL",
        "value": "2024-03-08T06:12:51.000Z"
      },
      {
        "fieldName": "restoreSize",
        "operator": "EQUAL",
        "value": 45330357
      },
      {
        "fieldName": "filesRestored",
        "operator": "EQUAL",
        "value": 0
      },
      {
        "fieldName": "filesMissed",
        "operator": "EQUAL",
        "value": 0
      },
      {
        "fieldName": "restoreLocation",
        "operator": "EQUAL",
        "value": "-"
      },
      {
        "fieldName": "restoreOption",
        "operator": "EQUAL",
        "value": "-"
      },
      {
        "fieldName": "restoreStatus",
        "operator": "EQUAL",
        "value": "Restore Successful"
      },
      {
        "fieldName": "statusDetails",
        "operator": "EQUAL",
        "value": "-"
      },
      {
        "fieldName": "snapshotTimestamp",
        "operator": "EQUAL",
        "value": "2024-03-06T09:56:26.000Z"
      }
    ]
  }
}'

To try out this API, refer API reference.

πŸ“˜

Note

On the API reference page, select googleSharedDriveRestoreActivity as the report ID under path params to test this API endpoint.

Sample responses

	{
    "data": [
        {
            "accountTitle": "05Oct2023",
            "administrator": "Rohit Patil",
            "endTime": "2024-03-08T06:12:51.000Z",
            "filesMissed": 0,
            "filesRestored": 0,
            "jobId": 2180,
            "lastUpdatedTime": "2024-03-08T06:12:51.000Z",
            "restoreLocation": "-",
            "restoreOption": "-",
            "restoreSize": 45330357,
            "restoreStatus": "Restore Successful",
            "snapshotTimestamp": "2024-03-06T09:56:26.000Z",
            "startTime": "2024-03-08T06:09:17.000Z",
            "statusDetails": "-"
        }
    ],
    "filters": {
        "pageSize": 100,
        "filterBy": [
            {
                "fieldName": "lastUpdatedTime",
                "value": "2025-01-07T09:21:35Z",
                "operator": "lte"
            },
            {
                "fieldName": "jobId",
                "value": 2180,
                "operator": "EQUAL"
            },
            {
                "fieldName": "accountTitle",
                "value": "05Oct2023",
                "operator": "EQUAL"
            },
            {
                "fieldName": "administrator",
                "value": "Rohit Patil",
                "operator": "EQUAL"
            },
            {
                "fieldName": "startTime",
                "value": "2024-03-08T06:09:17.000Z",
                "operator": "EQUAL"
            },
            {
                "fieldName": "endTime",
                "value": "2024-03-08T06:12:51.000Z",
                "operator": "EQUAL"
            },
            {
                "fieldName": "restoreSize",
                "value": 45330357,
                "operator": "EQUAL"
            },
            {
                "fieldName": "filesRestored",
                "value": 0,
                "operator": "EQUAL"
            },
            {
                "fieldName": "filesMissed",
                "value": 0,
                "operator": "EQUAL"
            },
            {
                "fieldName": "restoreLocation",
                "value": "-",
                "operator": "EQUAL"
            },
            {
                "fieldName": "restoreOption",
                "value": "-",
                "operator": "EQUAL"
            },
            {
                "fieldName": "restoreStatus",
                "value": "Restore Successful",
                "operator": "EQUAL"
            },
            {
                "fieldName": "statusDetails",
                "value": "-",
                "operator": "EQUAL"
            },
            {
                "fieldName": "snapshotTimestamp",
                "value": "2024-03-06T09:56:26.000Z",
                "operator": "EQUAL"
            }
        ]
    },
    "lastSyncTimestamp": "2024-08-20T08:28:03Z",
    "nextPageToken": ""
}
FieldTypeDescription
dataarray of objectsThe collection of site discovery data.
lastUpdatedTimedate-timeThe last updated time stamp for the record. Format: YYYY-MM-DDTHH:MM:SSZ (UTC).
jobIdintegerThe unique identifier of the activity stored in the database.
accountTitlestringThe title of the drive associated with the activity.
administratorstringThe name of the administrator who triggered the activity.
startTimedate-timeThe timestamp when the activity started. Format: YYYY-MM-DDTHH:MM:SSZ (UTC).
endTimedate-timeThe timestamp when the activity ended. Format: YYYY-MM-DDTHH:MM:SSZ (UTC).
restoreSizeintegerThe total amount of data restored, in bytes.
filesRestoredintegerThe number of files successfully restored during the activity.
filesMissedintegerThe number of files that failed to back up during the activity.
restoreLocationstringSpecifies whether the restore was performed in-place or to a new file.
restoreOptionstringSpecifies whether the restore was performed in-place or to a new file.
restoreStatusstringThe status of the restore activity.
statusDetailsstringError details for the last backup attempt, if any.
snapshotTimestampdate-timeThe timestamp of the snapshot. Format: YYYY-MM-DDTHH:MM:SSZ (UTC).
filtersobjectThe filters applied on the report.
nextPageTokenstringThe 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.
{
  "code": "string",
  "data": {
    "additionalProp": {}
  },
  "message": "string",
  "retryable": true
}
FieldTypeDescription
codestringError code.
dataobjectData of the error.
messagestringError message.
retryablebooleanCan retry the API call (true for yes and false for no.)

Storage Consumption Report

View workload specific storage consumption details and its summary.

URL

https://apis.druva.com/platform/reporting/v1/reports/googleStorageConsumption

Request type

HTTP POST

Sample cURL request

"curl --request POST \
     --url https://apis.druva.com/platform/reporting/v1/reports/googleStorageConsumption \
     --header 'Content-Type: application/json' \
     --header 'accept: application/json' \
     --data '
{
  "filters": {
    "pageSize": 500,
    "filterBy": [
      {
        "fieldName": "workloadName",
        "operator": "EQUAL",
        "value": "Google Drive"
      },
      {
        "fieldName": "resourceCount",
        "operator": "EQUAL",
        "value": 14
      },
      {
        "fieldName": "totalBackupData",
        "operator": "EQUAL",
        "value": 0
      },
      {
        "fieldName": "enabled",
        "operator": "EQUAL",
        "value": 13
      },
      {
        "fieldName": "enabledBackupData",
        "operator": "EQUAL",
        "value": 0
      },
      {
        "fieldName": "disabled",
        "operator": "EQUAL",
        "value": 1
      },
      {
        "fieldName": "disabledBackupData",
        "operator": "EQUAL",
        "value": 0
      }
    ]
  }
}'

To try out this API, refer API reference.

πŸ“˜

Note

On the API reference page, select googleStorageConsumption as the report ID under path params to test this API endpoint.

Sample responses

	{
    "data": [
        {
            "disabled": 1,
            "disabledBackupData": 0,
            "enabled": 13,
            "enabledBackupData": 0,
            "resourceCount": 14,
            "totalBackupData": 0,
            "workloadName": "Google Drive"
        }
    ],
    "filters": {
        "pageSize": 500,
        "filterBy": [
            {
                "fieldName": "workloadName",
                "value": "Google Drive",
                "operator": "EQUAL"
            },
            {
                "fieldName": "resourceCount",
                "value": 14,
                "operator": "EQUAL"
            },
            {
                "fieldName": "totalBackupData",
                "value": 0,
                "operator": "EQUAL"
            },
            {
                "fieldName": "enabled",
                "value": 13,
                "operator": "EQUAL"
            },
            {
                "fieldName": "enabledBackupData",
                "value": 0,
                "operator": "EQUAL"
            },
            {
                "fieldName": "disabled",
                "value": 1,
                "operator": "EQUAL"
            },
            {
                "fieldName": "disabledBackupData",
                "value": 0,
                "operator": "EQUAL"
            }
        ]
    },
    "lastSyncTimestamp": "2024-08-20T08:02:55Z",
    "nextPageToken": ""
}
FieldTypeDescription
dataarray of objectsThe collection of site discovery data.
workloadNamestringThe name of the workload for which storage consumption is displayed.
resourceCountintegerThe total number of resources associated with the workload.
totalBackupDataintegerThe total backup data of all resources associated with the workload.
enabledintegerThe total number of enabled resources associated with the workload.
enabledBackupDataintegerThe total backup data of all enabled resources associated with the workload.
disabledintegerThe total number of disabled resources associated with the workload.
disabledBackupDataintegerThe total backup data of all disabled resources associated with the workload.
filtersobjectThe filters applied on the report.
nextPageTokenstringThe 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.
{
  "code": "string",
  "data": {
    "additionalProp": {}
  },
  "message": "string",
  "retryable": true
}
FieldTypeDescription
codestringError code.
dataobjectData of the error.
messagestringError message.
retryablebooleanCan retry the API call (true for yes and false for no.)

Users Count & Status Report

View the weekly and monthly count of users added, preserved, and deleted for a specified period.

URL

https://apis.druva.com/platform/reporting/v1/reports/googleUserCountAndStatus

Request type

HTTP POST

Sample cURL request

"curl --request POST \
     --url https://apis.druva.com/platform/reporting/v1/reports/googleUserCountAndStatus \
     --header 'Content-Type: application/json' \
     --header 'accept: application/json' \
     --data '
{
  "filters": {
    "pageSize": 500,
    "filterBy": [
       {
        "fieldName": "period",
        "operator": "EQUAL",
        "value": "month"
      },
      {
        "fieldName": "startDate",
        "operator": "EQUAL",
        "value": "2024-03-01T00:00:00.000Z"
      },
      {
        "fieldName": "endDate",
        "operator": "EQUAL",
        "value": "2024-03-31T23:59:59.000Z"
      },
      {
        "fieldName": "totalUsers",
        "operator": "EQUAL",
        "value": 16
      },
      {
        "fieldName": "totalPreservedUsers",
        "operator": "EQUAL",
        "value": 0
      },
      {
        "fieldName": "userAdded",
        "operator": "EQUAL",
        "value": 17
      },
      {
        "fieldName": "usersDeleted",
        "operator": "EQUAL",
        "value": 1
      },
      {
        "fieldName": "usersPreserved",
        "operator": "EQUAL",
        "value": 0
      }
    ]
  }
}'

To try out this API, refer API reference.

πŸ“˜

Note

On the API reference page, select googleUserCountAndStatus as the report ID under path params to test this API endpoint.

Sample responses

	{
    "data": [
        {
            "endDate": "2024-03-31T23:59:59.000Z",
            "period": "month",
            "startDate": "2024-03-01T00:00:00.000Z",
            "totalPreservedUsers": 0,
            "totalUsers": 16,
            "userAdded": 17,
            "usersDeleted": 1,
            "usersPreserved": 0
        }
    ],
    "filters": {
        "pageSize": 500,
        "filterBy": [
            {
                "fieldName": "period",
                "value": "month",
                "operator": "EQUAL"
            },
            {
                "fieldName": "startDate",
                "value": "2024-03-01T00:00:00.000Z",
                "operator": "EQUAL"
            },
            {
                "fieldName": "endDate",
                "value": "2024-03-31T23:59:59.000Z",
                "operator": "EQUAL"
            },
            {
                "fieldName": "totalUsers",
                "value": 16,
                "operator": "EQUAL"
            },
            {
                "fieldName": "totalPreservedUsers",
                "value": 0,
                "operator": "EQUAL"
            },
            {
                "fieldName": "userAdded",
                "value": 17,
                "operator": "EQUAL"
            },
            {
                "fieldName": "usersDeleted",
                "value": 1,
                "operator": "EQUAL"
            },
            {
                "fieldName": "usersPreserved",
                "value": 0,
                "operator": "EQUAL"
            }
        ]
    },
    "lastSyncTimestamp": "2024-08-20T08:03:01Z",
    "nextPageToken": ""
}
FieldTypeDescription
dataarray of objectsThe collection of site discovery data.
periodstringRecords are categorized by duration: week or month. User count variations are segmented based on these periods.
startDatedate-timeThe start date of the specified week or month.
endDatedate-timeThe end date of the specified week or month.
totalUsersintegerThe total number of active users allocated within the specified period.
totalPreservedUsersintegerThe total number of preserved users allocated within the specified period.
userAddedintegerThe number of users added within the specified period.
usersDeletedintegerThe number of users deleted within the specified period.
usersPreservedintegerThe number of users marked as preserved within the specified period.
filtersobjectThe filters applied on the report.
nextPageTokenstringThe 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.
{
  "code": "string",
  "data": {
    "additionalProp": {}
  },
  "message": "string",
  "retryable": true
}
FieldTypeDescription
codestringError code.
dataobjectData of the error.
messagestringError message.
retryablebooleanCan retry the API call (true for yes and false for no.)
{
  "code": "string",
  "data": {
    "additionalProp": {}
  },
  "message": "string",
  "retryable": true
}
FieldTypeDescription
codestringError code.
dataobjectData of the error.
messagestringError message.
retryablebooleanCan retry the API call (true for yes and false for no.)

User Provisioning Report

The User Provisioning report provides information about the users provisioned.

URL

https://apis.druva.com/platform/reporting/v1/reports/googleUserProvisioning

Request type

HTTP POST

Sample cURL request

"curl --request POST \
     --url https://apis.druva.com/platform/reporting/v1/reports/googleUserProvisioning \
     --header 'Content-Type: application/json' \
     --header 'accept: application/json' \
     --data '
{
  "filters": {
    "pageSize": 500,
    "filterBy": [
      {
        "fieldName": "lastUpdatedTime",
        "value": "2025-01-07T09:21:35Z",
         "operator": "lte"
      },
      {
        "fieldName": "userName",
        "operator": "EQUAL",
        "value": "User_2Pranali"
      },
      {
        "fieldName": "userEmail",
        "operator": "EQUAL",
        "value": "ad_test@druvainternal.onmicrosoft.com"
      },
      {
        "fieldName": "profileId",
        "operator": "EQUAL",
        "value": 94
      },
      {
        "fieldName": "profileName",
        "operator": "EQUAL",
        "value": "Profile_pranali"
      },
      {
        "fieldName": "userStatus",
        "operator": "EQUAL",
        "value": "Active"
      },
       
      {
        "fieldName": "createdOn",
        "operator": "EQUAL",
        "value": "2024-07-31T11:07:50.000Z"
      },
      {
        "fieldName": "managedBy",
        "operator": "EQUAL",
        "value": "Manually"
      },
      {
        "fieldName": "mapping",
        "operator": "EQUAL",
        "value": "Manual"
      },
      {
        "fieldName": "customAttributeName",
        "operator": "EQUAL",
        "value": "-"
      },
      {
        "fieldName": "customAttributeValue",
        "operator": "EQUAL",
        "value": "-"
      }
 
    ]
  }
}'

To try out this API, refer API reference.

πŸ“˜

Note

On the API reference page, select googleUserProvisioning as the report ID under path params to test this API endpoint.

Sample responses

	{
    "data": [
        {
            "activeLicenseAllocated": null,
            "createdOn": "2024-07-31T11:07:50.000Z",
            "customAttributeName": "-",
            "customAttributeValue": "-",
            "googleLicenseState": null,
            "lastUpdatedTime": "2024-07-31T11:40:53.000Z",
            "managedBy": "Manually",
            "mapping": "Manual",
            "preservedLicenseAllocated": null,
            "profileId": 94,
            "profileName": "Profile_pranali",
            "totalBackupData": null,
            "userEmail": "ad_test@druvainternal.onmicrosoft.com",
            "userName": "User_2Pranali",
            "userStatus": "Active"
        }
    ],
    "filters": {
        "pageSize": 500,
        "filterBy": [
            {
                "fieldName": "lastUpdatedTime",
                "value": "2025-01-07T09:21:35Z",
                "operator": "lte"
            },
            {
                "fieldName": "userName",
                "value": "User_2Pranali",
                "operator": "EQUAL"
            },
            {
                "fieldName": "userEmail",
                "value": "ad_test@druvainternal.onmicrosoft.com",
                "operator": "EQUAL"
            },
            {
                "fieldName": "profileId",
                "value": 94,
                "operator": "EQUAL"
            },
            {
                "fieldName": "profileName",
                "value": "Profile_pranali",
                "operator": "EQUAL"
            },
            {
                "fieldName": "userStatus",
                "value": "Active",
                "operator": "EQUAL"
            },
            {
                "fieldName": "createdOn",
                "value": "2024-07-31T11:07:50.000Z",
                "operator": "EQUAL"
            },
            {
                "fieldName": "managedBy",
                "value": "Manually",
                "operator": "EQUAL"
            },
            {
                "fieldName": "mapping",
                "value": "Manual",
                "operator": "EQUAL"
            },
            {
                "fieldName": "customAttributeName",
                "value": "-",
                "operator": "EQUAL"
            },
            {
                "fieldName": "customAttributeValue",
                "value": "-",
                "operator": "EQUAL"
            }
        ]
    },
    "lastSyncTimestamp": "2024-08-20T08:04:43Z",
    "nextPageToken": ""
}
FieldTypeDescription
dataarray of objectsThe collection of site discovery data.
lastUpdatedTimedate-timeThe last updated time stamp for the record. Format: YYYY-MM-DDTHH:MM:SSZ (UTC).
userNamestringThe name of the user associated with the workload.
userEmailstringThe email address of the user associated with the workload.
profileIdintegerThe unique identifier of the profile associated with the user.
profileNamestringThe name of the profile associated with the user.
userStatusstringThe status of the user, indicating whether they are Active or Preserved.
googleLicenseStatestringThe category of the user. Possible values: Active Licensed Users, Preserve Licensed Users.
totalBackupDataintegerThe total backup data of the user to date.
createdOndate-timeThe timestamp when the user was first onboarded into the system. Format: YYYY-MM-DDTHH:MM:SSZ (UTC).
managedBystringThe onboarding and management method for the user. Possible values: Manually, AD, SCIM, AzureAD, API, GDir.
mappingstringThe name of the profile mapping associated with the user.
customAttributeNamestringThe name of the custom attribute filter.
customAttributeValuestringThe value of the custom attribute filter.
activeLicenseAllocatedintegerThe total number of active user licenses allocated to the customer.
preservedLicenseAllocatedintegerThe total number of preserved user licenses allocated to the customer.
filtersobjectThe filters applied on the report.
nextPageTokenstringThe 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.
{
  "code": "string",
  "data": {
    "additionalProp": {}
  },
  "message": "string",
  "retryable": true
}
FieldTypeDescription
codestringError code.
dataobjectData of the error.
messagestringError message.
retryablebooleanCan retry the API call (true for yes and false for no.)

User Restore Activity Report

View the status and details of all restore jobs for user workloads

URL

https://apis.druva.com/platform/reporting/v1/reports/googleUserRestoreActivity

Request type

HTTP POST

Sample cURL request

"curl --request POST \
     --url https://apis.druva.com/platform/reporting/v1/reports/googleUserRestoreActivity \
     --header 'Content-Type: application/json' \
     --header 'accept: application/json' \
     --data '
{
  "filters": {
    "pageSize": 500,
    "filterBy": [
      {
        "fieldName": "lastUpdatedTime",
        "value": "2025-01-07T09:21:35Z",
         "operator": "gte"
      },
      {
        "fieldName": "jobId",
        "operator": "EQUAL",
        "value": 97
      },
      {
        "fieldName": "userName",
        "operator": "EQUAL",
        "value": "vishal"
      },
      {
        "fieldName": "userEmail",
        "operator": "EQUAL",
        "value": "vishal10@qagtest.drtst.org"
      },
      {
        "fieldName": "workloadType",
        "operator": "EQUAL",
        "value": "Google Drive"
      },
      {
        "fieldName": "profileId",
        "operator": "EQUAL",
        "value": 87
      },
      {
        "fieldName": "profileName",
        "operator": "EQUAL",
        "value": "Gsuite"
      },
      {
        "fieldName": "restoreMode",
        "operator": "EQUAL",
        "value": "Admin"
      },
      {
        "fieldName": "restoreLocation",
        "operator": "EQUAL",
        "value": "Same user account"
      },
      {
        "fieldName": "startTime",
        "operator": "EQUAL",
        "value": "2025-01-17T07:22:34.000Z"
      },
      {
        "fieldName": "endTime",
        "operator": "EQUAL",
        "value": "2025-01-17T07:22:40.000Z"
      },
      {
        "fieldName": "itemsRestored",
        "operator": "EQUAL",
        "value": 4
      },
      {
        "fieldName": "itemsMissed",
        "operator": "EQUAL",
        "value": 0
      },
      {
        "fieldName": "restoreSize",
        "operator": "EQUAL",
        "value": 4235239
      },
      {
        "fieldName": "restoreStatus",
        "operator": "EQUAL",
        "value": "Restore Successful"
      }
    ]
  }
}'

To try out this API, refer API reference.

πŸ“˜

Note

On the API reference page, select googleUserRestoreActivity as the report ID under path params to test this API endpoint.

Sample responses

	{
    "data": [
        {
            "endTime": "2025-01-17T07:22:40.000Z",
            "itemsMissed": 0,
            "itemsRestored": 4,
            "jobId": 97,
            "lastUpdatedTime": "2025-01-17T07:22:40.000Z",
            "profileId": 87,
            "profileName": "Gsuite",
            "restoreLocation": "Same user account",
            "restoreMode": "Admin",
            "restoreSize": 4235239,
            "restoreStatus": "Restore Successful",
            "startTime": "2025-01-17T07:22:34.000Z",
            "userEmail": "vishal10@qagtest.drtst.org",
            "userName": "vishal",
            "workloadType": "Google Drive"
        }
    ],
    "filters": {
        "pageSize": 500,
        "filterBy": [
            {
                "fieldName": "lastUpdatedTime",
                "value": "2025-01-07T09:21:35Z",
                "operator": "gte"
            },
            {
                "fieldName": "jobId",
                "value": 97,
                "operator": "EQUAL"
            },
            {
                "fieldName": "userName",
                "value": "vishal",
                "operator": "EQUAL"
            },
            {
                "fieldName": "userEmail",
                "value": "vishal10@qagtest.drtst.org",
                "operator": "EQUAL"
            },
            {
                "fieldName": "workloadType",
                "value": "Google Drive",
                "operator": "EQUAL"
            },
            {
                "fieldName": "profileId",
                "value": 87,
                "operator": "EQUAL"
            },
            {
                "fieldName": "profileName",
                "value": "Gsuite",
                "operator": "EQUAL"
            },
            {
                "fieldName": "restoreMode",
                "value": "Admin",
                "operator": "EQUAL"
            },
            {
                "fieldName": "restoreLocation",
                "value": "Same user account",
                "operator": "EQUAL"
            },
            {
                "fieldName": "startTime",
                "value": "2025-01-17T07:22:34.000Z",
                "operator": "EQUAL"
            },
            {
                "fieldName": "endTime",
                "value": "2025-01-17T07:22:40.000Z",
                "operator": "EQUAL"
            },
            {
                "fieldName": "itemsRestored",
                "value": 4,
                "operator": "EQUAL"
            },
            {
                "fieldName": "itemsMissed",
                "value": 0,
                "operator": "EQUAL"
            },
            {
                "fieldName": "restoreSize",
                "value": 4235239,
                "operator": "EQUAL"
            },
            {
                "fieldName": "restoreStatus",
                "value": "Restore Successful",
                "operator": "EQUAL"
            }
        ]
    },
    "lastSyncTimestamp": "2025-01-17T08:55:31Z",
    "nextPageToken": ""
}
FieldTypeDescription
dataarray of objectsThe collection of site discovery data.
lastUpdatedTimedate-timeThe last updated time stamp for the record. Format: YYYY-MM-DDTHH:MM:SSZ (UTC).
jobIdintegerThe unique identifier of the activity stored in the database.
userNamestringThe name of the user associated with the workload.
userEmailstringThe email address of the user associated with the workload.
workloadTypestringThe workload associated with the user.
profileIdintegerThe unique identifier of the profile associated with the user.
profileNamestringThe name of the profile associated with the user.
restoreModestringThe restore mode. Possible values: Self, Web, Admin, Mobile.
restoreLocationstringThe restore location. Possible values: Same user account, Different user account.
startTimedate-timeThe timestamp when the activity started. Format: YYYY-MM-DDTHH:MM:SSZ (UTC).
endTimedate-timeThe timestamp when the activity ended. Format: YYYY-MM-DDTHH:MM:SSZ (UTC).
itemsRestoredintegerThe total number of items restored as part of the activity.
itemsMissedintegerThe total number of items that failed to restore as part of the activity.
restoreSizeintegerThe total amount of data restored, in bytes.
restoreStatusstringThe status of the restore activity.
filtersobjectThe filters applied on the report.
nextPageTokenstringThe 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.
{
  "code": "string",
  "data": {
    "additionalProp": {}
  },
  "message": "string",
  "retryable": true
}
FieldTypeDescription
codestringError code.
dataobjectData of the error.
messagestringError message.
retryablebooleanCan retry the API call (true for yes and false for no.)

User Workload Report

View backup status, activity logs, and summary for user workloads.

URL

https://apis.druva.com/platform/reporting/v1/reports/googleUserWorkload

Request type

HTTP POST

Sample cURL request

"curl --request POST \
     --url https://apis.druva.com/platform/reporting/v1/reports/googleUserWorkload \
     --header 'Content-Type: application/json' \
     --header 'accept: application/json' \
     --data '
{
  "filters": {
    "pageSize": 500,
    "filterBy": [
      {
        "fieldName": "lastUpdatedTime",
        "value": "2025-01-07T09:21:35Z",
         "operator": "gte"
      }
    ]
  }
}'

To try out this API, refer API reference.

πŸ“˜

Note

On the API reference page, select googleUserWorkload as the report ID under path params to test this API endpoint.

Sample responses

	{
    "data": [
        {
            "addedOn": "2025-01-17T07:15:57.000Z",
            "appStatus": "Enabled",
            "lastAttemptedBackup": null,
            "lastBackupStatus": "Backup Failed",
            "lastSuccessfulBackup": null,
            "lastUpdatedTime": "2025-01-17T07:24:28.000Z",
            "profileId": 87,
            "profileName": "Gsuite",
            "statusDetails": "EINTERNAL",
            "storageId": 1000044,
            "storageName": "org_reports_ap1",
            "totalBackupData": 0,
            "userEmail": "vishal10@qagtest.drtst.org",
            "userName": "vishal",
            "workloadType": "Gmail"
        },
        {
            "addedOn": "2025-01-17T07:15:57.000Z",
            "appStatus": "Enabled",
            "lastAttemptedBackup": "2025-01-17T07:23:20.000Z",
            "lastBackupStatus": "Backed Up Successfully",
            "lastSuccessfulBackup": "2025-01-17T07:23:20.000Z",
            "lastUpdatedTime": "2025-01-17T07:23:25.000Z",
            "profileId": 87,
            "profileName": "Gsuite",
            "statusDetails": null,
            "storageId": 1000044,
            "storageName": "org_reports_ap1",
            "totalBackupData": 8476886,
            "userEmail": "vishal10@qagtest.drtst.org",
            "userName": "vishal",
            "workloadType": "Google Drive"
        }
    ],
    "filters": {
        "pageSize": 500,
        "filterBy": [
            {
                "fieldName": "lastUpdatedTime",
                "value": "2025-01-07T09:21:35Z",
                "operator": "gte"
            }
        ]
    },
    "lastSyncTimestamp": "2025-01-17T09:37:10Z",
    "nextPageToken": ""
}

FieldTypeDescription
dataarray of objectsThe collection of site discovery data.
lastUpdatedTimedate-timeThe last updated time stamp for the record. Format: YYYY-MM-DDTHH:MM:SSZ (UTC).
userNamestringThe name of the user associated with the workload.
userEmailstringThe email address of the user associated with the workload.
addedOndate-timeThe timestamp when the user was added to the system. Format: YYYY-MM-DDTHH:MM:SSZ (UTC).
workloadTypestringThe workload associated with the user.
profileIdintegerThe unique identifier of the profile associated with the user.
profileNamestringThe name of the profile associated with the user.
storageIdintegerThe unique identifier of the storage associated with the user.
storageNamestringThe name of the storage associated with the user.
appStatusstringThe status of the drive associated with the activity.
totalBackupDataintegerThe total backup data of the user to date.
lastSuccessfulbackupdate-timeThe timestamp of the last successful backup. Format: YYYY-MM-DDTHH:MM:SSZ (UTC).
lastAttemptedBackupdate-timeThe timestamp of the last attempted backup. Format: YYYY-MM-DDTHH:MM:SSZ (UTC).
lastBackupStatusstringThe status of the last backup attempt.
statusDetailsstringError details for the last backup attempt, if any.
filtersobjectThe filters applied on the report.
nextPageTokenstringThe 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.
{
  "code": "string",
  "data": {
    "additionalProp": {}
  },
  "message": "string",
  "retryable": true
}

User Last Backup Status Report

View the last backup status and details about backup jobs for user workloads

URL

https://apis.druva.com/platform/reporting/v1/reports/googleUserLastBackupStatus

Request type

HTTP POST

Sample cURL request

curl --request POST \
     --url https://apis.druva.com/platform/reporting/v1/reports/googleUserLastBackupStatus \
     --header 'Content-Type: application/json' \
     --header 'accept: application/json' \
     --data '
  "filters": {
    "pageSize": 500,
    "filterBy": [
      {
        "fieldName": "lastUpdatedTime",
        "value": "2025-01-07T09:21:35Z",
         "operator": "gte"
      },
      {
        "fieldName": "userName",
        "operator": "EQUAL",
        "value": "vishal"
      }
    ]
  }
}'

To try out this API, refer API reference.

πŸ“˜

Note

On the API reference page, select googleUserLastBackupStatus as the report ID under path params to test this API endpoint.

Sample responses

{
    "data": [
        {
            "appStatus": "Enabled",
            "endTime": "2025-01-17T07:23:24.000Z",
            "itemsBackedUp": 6,
            "itemsMissed": 0,
            "lastBackupData": 4241647,
            "lastBackupStatus": "Backed Up Successfully",
            "lastUpdatedTime": "2025-01-17T07:23:25.000Z",
            "profileId": 87,
            "profileName": "Gsuite",
            "startTime": "2025-01-17T07:23:09.000Z",
            "statusDetails": "-",
            "totalBackupData": null,
            "userEmail": "vishal10@qagtest.drtst.org",
            "userName": "vishal",
            "workloadType": "Google Drive"
        },
        {
            "appStatus": "Enabled",
            "endTime": "2025-01-17T07:24:28.000Z",
            "itemsBackedUp": 0,
            "itemsMissed": 0,
            "lastBackupData": 0,
            "lastBackupStatus": "Backup Failed",
            "lastUpdatedTime": "2025-01-17T07:24:28.000Z",
            "profileId": 87,
            "profileName": "Gsuite",
            "startTime": "2025-01-17T07:23:10.000Z",
            "statusDetails": "EINTERNAL",
            "totalBackupData": null,
            "userEmail": "vishal10@qagtest.drtst.org",
            "userName": "vishal",
            "workloadType": "Gmail"
        }
    ],
    "filters": {
        "pageSize": 500,
        "filterBy": [
            {
                "fieldName": "lastUpdatedTime",
                "value": "2025-01-07T09:21:35Z",
                "operator": "gte"
            },
            {
                "fieldName": "userName",
                "value": "vishal",
                "operator": "EQUAL"
            }
        ]
    },
    "lastSyncTimestamp": "2025-01-17T15:18:41Z",
    "nextPageToken": ""
}
FieldTypeDescription
dataarray of objectsThe collection of site discovery data.
lastUpdatedTimedate-timeThe last updated time stamp for the record. Format: `YYYY-MM-DDTHH:MM:SSZ` (UTC).
userNamestringThe name of the user associated with the workload.
userEmailstringThe email address of the user associated with the workload.
workloadTypestringThe workload associated with the user.
profileIdintegerThe unique identifier of the profile associated with the user.
profileNamestringThe name of the profile associated with the user.
appStatusstringThe status of the workload, indicating whether it is Enabled or Disabled.
startTimedate-timeThe timestamp when the activity started. Format: YYYY-MM-DDTHH:MM:SSZ (UTC).
endTimedate-timeThe timestamp when the activity ended. Format: YYYY-MM-DDTHH:MM:SSZ (UTC).
itemsBackedUpintegerThe total number of items successfully backed up in the last backup activity.
itemsMissedintegerThe total number of items that failed to back up in the last backup activity.
lastBackupDataintegerThe total amount of backup data recorded in the last backup activity, in bytes.
totalBackupDataintegerThe total backup data of the user to date.
lastBackupStatusstringThe status of the last backup attempt.
statusDetailsstringError details for the last backup attempt, if any.
filtersobjectThe filters applied on the report.
nextPageTokenstringThe 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.
{
  "code": "string",
  "data": {
    "additionalProp": {}
  },
  "message": "string",
  "retryable": true
}