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

# List all policies

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

Returns all backup policies

## Path parameters

- `OrgID` integer, required

## Query parameters

- `pageToken` string

## Response `200`

Success

- AHVGetPoliciesResponse — List all policies response.
  - `nextPageToken` string — The token to access the next page of results. This parameter will be empty for the last page of results.
  - `policies` AHVGetPolicies[] — List of all backup policies.
    - `automaticRetry` boolean — Indicates whether automatic retry is enabled or disabled for the job.
    - `dataLock` boolean — Indicates whether Data Lock is enabled in the backup policy.
    - `description` string — The policy description.
    - `ignoreFirstBackupDuration` boolean — Indicates whether the first backup duration is to be ignored or not.
    - `maxRetryCount` integer — The maximum number of retries.
    - `maxRetryDuration` string — The wait interval before the job is retried.
    - `maxRetryDurationInSeconds` integer — The wait interval in seconds before the job is retried.
    - `policyID` integer — The ID of your backup policy.
    - `policyName` string — The name of the policy.
    - `policyType` string — The type of the policy.
    - `retention` AHVRetentionPolicy — Details of the retention policy.
      - `allSnapshots` string — The number of days for which daily backup recovery points are to be retained.
      - `ltrEnabled` boolean — Indicates whether the backup is enabled for long term retention.
      - `monthly` string — The number of months for which monthly backup recovery points are to be retained.
      - `warmTierDuration` integer — The duration in days for which the snapshot resides in the warm tier of the AWS storage.
      - `weekly` string — The number of weeks for which weekly backup recovery points are to be retained.
      - `yearly` string — The number of years for which yearly backup recovery points are to be retained.
    - `schedules` AHVSchedules[] — Schedules for the backup.
      - `bandwidth` string — The maximum bandwidth allowed for the backup.
      - `bandwidthInKBps` number, double — The maximum bandwidth allowed for the backup in KBps.
      - `duration` string — The duration after which you want the backup jobs to stop.
      - `durationInSeconds` integer — The duration in seconds after which you want the backup jobs to stop.
      - `repeatOn` string[] — JSONStringList is data type to be used in model definition for data that is string:interface map in memory but stored as JSON string in DB
      - `startAt` string — The scheduled start time.

## 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.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)
