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

# List all backup sets

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

Returns all backup sets

## Path parameters

- `OrgID` integer, required

## Query parameters

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

## Response `200`

Success

- AHVGetBackupsetsResponse — List all backup sets response.
  - `backupsets` AHVBackupsetInfo[] — List of backup sets.
    - `backupEnabled` boolean — Indicates whether the backup is enabled for the virtual machine.
    - `backupPolicyID` integer — The ID of your backup policy.
    - `backupPolicyName` string — The name of the backup policy attached to the backup set.
    - `backupsetID` integer — The ID of your backup set.
    - `clusterID` integer — The ID of your cluster.
    - `clusterName` string — The name of the cluster.
    - `dataLock` boolean — Indicates whether data lock is enabled for the backup set.
    - `lastBackupDetails` AHVLastBackupDetailsStruct — The last backup details of the backup set.
      - `jobID` integer — The unique identification number associated with the job.
      - `status` string — Status of the job.
    - `ltrEnabled` boolean — Indicates whether the backup is enabled for long term retention.
    - `name` string — The name of your VM.
    - `organizationID` integer — The ID of your organization.
    - `organizationName` string — The name of the organization.
    - `vmID` integer — The ID of your virtual machine.
    - `warmTierDuration` integer — The duration in days for which the snapshot resides 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/authentication.md) · [All operations](https://skmtc.dev/druva/apis/authentication/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/druva/authentication/revisions/2af2bf148b25/schema)
