> For the complete documentation index, see [llms.txt](https://docs.ionos.com/cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/cloud/databases/in-memory-db/api/v1-api.md).

# In-Memory DB v1 API

The In-Memory DB cluster functionality available in the <code class="expression">space.vars.ionos\_cloud</code> DCD is also available through the API.

The In-Memory DB v1 API refers to the existing API and works alongside the In-Memory DB v2 API.

{% hint style="warning" %}
**Important:** The **In-Memory DB v1** API will be deprecated in an upcoming release. All existing clusters operating on the v1 version will be automatically migrated to the v2 version as part of this process. No user action is required. For more information, see [<mark style="color:blue;">In-Memory DB API Versions</mark>](https://api.ionos.com/docs/in-memory-db/v2/).
{% endhint %}

## What can you do with the In-Memory DB v1 API?

Use the In-Memory DB v1 API to:

* Create and manage In-Memory DB replica sets.
* Verify the operational status of a replica set.
* Retrieve a single replica set or list all replica sets in your account.
* Modify replica set configuration, such as scaling resources or updating settings.
* Delete replica sets you no longer need.
* Retrieve individual snapshots or list all snapshots for a replica set.
* Restore a replica set from a snapshot.
* Retrieve individual restores or list all restores for a replica set.
* Connect In-Memory DB instances to your managed Kubernetes clusters.

## Quick links

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:blue;"><strong>Prerequisites</strong></mark></td><td>A list of prerequisites to assure success with an In-Memory DB instance creation.</td><td><a href="/pages/s0MHuv6G88XUL0PX5szM">/pages/s0MHuv6G88XUL0PX5szM</a></td></tr><tr><td><mark style="color:blue;"><strong>Create an In-Memory DB Instance</strong></mark></td><td>Create an In-Memory DB instance.</td><td><a href="/pages/IExgq17EoZ0Vbrm3Zmgn">/pages/IExgq17EoZ0Vbrm3Zmgn</a></td></tr><tr><td><mark style="color:blue;"><strong>Verify the status of an In-Memory DB Instance</strong></mark></td><td>Verify the status of an In-Memory DB instance.</td><td><a href="/pages/1Gm8y7gidnRBDYJsZDZc">/pages/1Gm8y7gidnRBDYJsZDZc</a></td></tr><tr><td><mark style="color:blue;"><strong>Connect to an In-Memory DB Instance from the Kubernetes Cluster</strong></mark></td><td>Connect to an In-Memory DB instance from your managed Kubernetes cluster.</td><td><a href="/pages/VEA0Q6RXZ4ZJVNU7ggCJ">/pages/VEA0Q6RXZ4ZJVNU7ggCJ</a></td></tr><tr><td><mark style="color:blue;"><strong>Retrieve In-Memory DB Instances</strong></mark></td><td>List all In-Memory DB instances.</td><td><a href="/pages/vNm2yNZwLxbQyjjbITZb">/pages/vNm2yNZwLxbQyjjbITZb</a></td></tr><tr><td><mark style="color:blue;"><strong>Fetch an In-Memory DB Instance</strong></mark></td><td>Fetch a specific In-Memory DB instance.</td><td><a href="/pages/XOefzufz9How7AJLFcqB">/pages/XOefzufz9How7AJLFcqB</a></td></tr><tr><td><mark style="color:blue;"><strong>Modify an In-Memory DB Instance</strong></mark></td><td>Modify a specific In-Memory DB instance.</td><td><a href="/pages/OiuW06yrtYXnWpTNZLhl">/pages/OiuW06yrtYXnWpTNZLhl</a></td></tr><tr><td><mark style="color:blue;"><strong>Delete an In-Memory DB Instance</strong></mark></td><td>Delete a specific In-Memory DB instance.</td><td><a href="/pages/68U6wnv5meFO8vBQB3mN">/pages/68U6wnv5meFO8vBQB3mN</a></td></tr><tr><td><mark style="color:blue;"><strong>Retrieve an In-Memory DB Snapshot</strong></mark></td><td>Retrieve a specific In-Memory DB snapshot.</td><td><a href="/pages/7NUDIMHrAyhDgbYTO3qX">/pages/7NUDIMHrAyhDgbYTO3qX</a></td></tr><tr><td><mark style="color:blue;"><strong>Retrieve In-Memory DB Snapshots</strong></mark></td><td>List all In-Memory DB snapshots.</td><td><a href="/pages/OPoI8VhhB2hQaGMplfjI">/pages/OPoI8VhhB2hQaGMplfjI</a></td></tr><tr><td><mark style="color:blue;"><strong>Create an In-Memory DB Restore</strong></mark></td><td>Create an In-Memory DB restore.</td><td><a href="/pages/Rs0m9EuSX1mK8uWhRBYO">/pages/Rs0m9EuSX1mK8uWhRBYO</a></td></tr><tr><td><mark style="color:blue;"><strong>Retrieve an In-Memory DB Restore</strong></mark></td><td>Retrieve a specific In-Memory DB restore.</td><td><a href="/pages/foFFj9ExYUmg6FxdpbIw">/pages/foFFj9ExYUmg6FxdpbIw</a></td></tr><tr><td><mark style="color:blue;"><strong>Retrieve In-Memory DB Restores</strong></mark></td><td>Retrieve a list of In-Memory DB restores.</td><td><a href="/pages/z5DOdpupuPJQi6wzsgTX">/pages/z5DOdpupuPJQi6wzsgTX</a></td></tr></tbody></table>

## Endpoints

A regional endpoint is necessary to interact with the In-Memory DB REST API endpoints. For more information, see the [<mark style="color:blue;">API specification file</mark>](https://api.ionos.com/docs/in-memory-db/v1/).

Currently, <code class="expression">space.vars.ionos\_cloud</code> supports the following endpoints for various locations:

* Berlin, Germany: `https://in-memory-db.de-txl.ionos.com/replicasets`
* Frankfurt, Germany: `https://in-memory-db.de-fra.ionos.com/replicasets`
* Logroño, Spain: `https://in-memory-db.es-vit.ionos.com/replicasets`
* London, United Kingdom: `https://in-memory-db.gb-lhr.ionos.com/replicasets`
* Worcester, United Kingdom: `https://in-memory-db.gb-bhx.ionos.com/replicasets`
* Newark, United States: `https://in-memory-db.us-ewr.ionos.com/replicasets`
* Las Vegas, United States: `https://in-memory-db.us-las.ionos.com/replicasets`
* Lenexa, United States: `https://in-memory-db.us-mci.ionos.com/replicasets`
* Paris, France: `https://in-memory-db.fr-par.ionos.com/replicasets`

## Examples

The documentation contains `curl` examples, as the tool is available on Windows 10, Linux, and macOS. You can also refer to the following blog posts on the <code class="expression">space.vars.ionos\_cloud</code> website that describe how to run `curl` in [<mark style="color:blue;">Linux</mark>](https://www.ionos.com/digitalguide/server/tools/introduction-to-curl-in-linux) and [<mark style="color:blue;">Windows</mark>](https://www.ionos.com/digitalguide/server/tools/introduction-to-curl-in-windows) systems if you encounter any problems.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.ionos.com/cloud/databases/in-memory-db/api/v1-api.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
