> ## Documentation Index
> Fetch the complete documentation index at: https://docs.memanto.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Restore Memory

> Return an expired memory to active.

## Overview

Returns an expired memory to active.

## Authentication

**x-api-key** `string` *required*

Your Memanto Cloud API key (`mk_...`). See [Authentication](https://docs.memanto.ai/cloud/api/introduction.md#authentication).

## Path Parameters

**agent\_id** `string` *required*

The agent's ID.

**memory\_id** `string` *required*

The memory's ID.

```bash cURL theme={null}
curl -X POST "https://api.memanto.ai/agents/my-agent/memories/3f2a9c1e-…/restore" \
  -H "x-api-key: $MEMANTO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

```json 200 - OK theme={null}
{
  "agent_id": "my-agent",
  "memory_id": "3f2a9c1e-…",
  "status": "active"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.