---
title: "List all backup sets"
method: GET
path: "/vmware/v1/orgs/{OrgID}/reports/backupsets"
tags: ["VMware"]
---

# List all backup sets

`GET /vmware/v1/orgs/{OrgID}/reports/backupsets`

## Request

- Base URL: `//apis.druva.com/phoenix` (relative, and the document’s source URL is not known)
- URL: `//apis.druva.com/phoenix/vmware/v1/orgs/{OrgID}/reports/backupsets`
- Auth: API key in header `Authorization`

Returns all backup sets for VMware

## Path parameters

- `OrgID` integer, required

## Query parameters

- `vmName` string
- `backupEnable` boolean
- `pageToken` string

## Response `200`

Success

- VMwareGetBackupsetsResponse: GetBackupsetsResponse is response schema for GetBackupsets
  - `backupsets` VMwareBackupsetInfo[]: List of backup sets based on the query. In this case, returns the backup sets created for VMware.
    - `appsPresentInBackup` string[]: Specifies the list of the applications, which are backed up as part of the application-aware backup.
    - `backupEnabled` boolean: Specifies whether the backup is enabled for the virtual machine.
    - `backupPolicyID` integer: The ID of your backup policy.
    - `backupPolicyName` string: Name of the backup policy attached to the backup set
    - `backupsetID` integer: The ID of your backup set.
    - `dataCenter` string: The name of the Data Center
    - `diskExcludeList` string[]: Exclude Filter
    - `dataLock` boolean: The status indicating if Data Lock is enabled for the backup set.
    - `lastBackupDetails` VMwareLastBackupDetailsStruct: LastBackupDetailsStruct is response schema for GetBackupsets
      - `jobID` integer: A unique identification number associated with the job
      - `status` string: Status of the job
    - `ltrEnabled` boolean: The status of the backup set whether enabled for long term retention. For example, True denotes that the backup set is enabled for LTR.
    - `name` string: The name of the virtual machine (VM)
    - `organizationID` integer: The ID of your organization.
    - `organizationName` string: The name of the Organization
    - `vCenter` string: The name of the VCenter
    - `vCenterID` integer: The ID of your vCenter.
    - `vhost` string: The name of the Vhost
    - `vmID` integer: The ID of your virtual machine.
    - `warmTierDuration` integer: Lists the duration in days for which the snapshot will reside in the warm tier of the AWS storage.
  - `nextPageToken` string: The token to access the next page of results. This parameter will be empty for the last page of results.

## Other responses

- `400`: Bad Request
- `401`: The request did not include an authentication token or the authentication token was expired.
- `403`: Forbidden
- `404`: The requested resource was not found.
- `500`: The request was not processed due to an internal error in Cloud.

---

[API](https://skmtc.dev/druva/apis/enterprise-workloads.md) - [All operations](https://skmtc.dev/druva/apis/enterprise-workloads/llms.txt) - [OpenAPI document](https://skmtc.dev/druva/apis/enterprise-workloads/revisions/18fc75e8229e?raw)
