# API How-Tos

This section provides detailed guides on how to perform various operations with the In-Memory DB instances using the API. Follow the links below to access step-by-step instructions for each task.

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