# 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>](/cloud/databases/in-memory-db/api-howtos.md#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"
    }
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ionos.com/cloud/databases/in-memory-db/api-howtos/retrieve-in-memory-db-snapshots.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
