# Retrieve In-Memory DB Snapshots

You can retrieve a list of In-Memory DB snapshots. The number of results displayed on each page depends on the `limit` and `offset` values. While `limit` limits the number of response elements, `offset` specifies the starting point within the collection of resource results returned from the server.&#x20;

Additionally, you can also use a response filter (`filter.name`) to list only the In-Memory DB snapshots that contain the specified `displayName`.

## Endpoint

Use a [<mark style="color:blue;">region-specific endpoint</mark>](https://docs.ionos.com/sections-test/guides/databases/in-memory-db/api-howtos/..#endpoints) from the list to retrieve all In-Memory DB snapshots: `https://in-memory-db.{region}.ionos.com/snapshots`

## Request

The following is a sample request:

```bash
curl -X 'GET' \
  'https://in-memory-db.de-txl.ionos.com/snapshots' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer $Token' \
```

{% tabs %}
{% tab title="Request Header Parameters" %}
To make authenticated requests to the API, the following fields are mandatory in the request header:

| Header Parameters | Required |  Type  | Description                                                  |
| ----------------- | :------: | :----: | ------------------------------------------------------------ |
| `Authorization`   |    yes   | string | Provide a header value as `Bearer` followed by your `token`. |
| `Content-Type`    |    yes   | string | Set this to `application/json`.                              |
| {% endtab %}      |          |        |                                                              |
| {% endtabs %}     |          |        |                                                              |

## Response

**202 Successful operation**

```json
{
    "id": "12345678-1234-1234-1234-123456781234",
    "type": "collection",
    "href": "/snapshots?limit=100&offset=0",
    "items": [],
    "offset": 0,
    "limit": 100,
    "_links": {
        "self": "/snapshots?limit=100&offset=0",
        "next": "/snapshots?limit=100&offset=100"
    }
}
```
