---
title: "GET /{accountId}/policies/data-retrieval"
method: GET
path: "/{accountId}/policies/data-retrieval"
---

# GET /{accountId}/policies/data-retrieval

`GET /{accountId}/policies/data-retrieval`

This operation returns the current data retrieval policy for the account and region specified in the GET request. For more information about data retrieval policies, see <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/data-retrieval-policy.html">Amazon Glacier Data Retrieval Policies</a>.

## Path parameters

- `accountId` string, required

## Response `200`

Success

- GetDataRetrievalPolicyOutput — Contains the Amazon S3 Glacier response to the <code>GetDataRetrievalPolicy</code> request.
  - `Policy` object — Contains the returned data retrieval policy in JSON format.
    - `Rules` DataRetrievalRule[] — The policy rule. Although this is a list type, currently there must be only one rule, which contains a Strategy field and optionally a BytesPerHour field.
      - `Strategy` string — <p>The type of data retrieval policy to set.</p> <p>Valid values: BytesPerHour|FreeTier|None</p>
      - `BytesPerHour` integer — <p>The maximum number of bytes that can be retrieved in an hour.</p> <p>This field is required only if the value of the Strategy field is <code>BytesPerHour</code>. Your PUT operation will be rejected if the Strategy field is not set to <code>BytesPerHour</code> and you set this field.</p>

## Other responses

- `480` — InvalidParameterValueException
- `481` — MissingParameterValueException
- `482` — ServiceUnavailableException

---

[API](https://skmtc.net/aws/apis/glacier.md) · [All operations](https://skmtc.net/aws/apis/glacier/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/glacier/versions/7b30e085db54/schema)
