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

# Batch Remember

> Store up to 100 memories in one call.

## Overview

Stores up to 100 memories. Each item is validated on its own: a bad item is reported as `failed` in `results` and the rest are still stored. `results` are in input order.

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

## Body

**memories** `array` *required*

1–100 memories, each with the fields of [Remember](https://docs.memanto.ai/cloud/api/memories/remember.md) (`content` required).

**source** `string`

Tool to attribute the batch to on the Connections page, when the items don't set `source`.

**import** `boolean` (default: false)

Set `true` when moving memories in from another store. Each item may then also carry its original `created_at` (ISO 8601, not in the future) and, for a memory that had expired, `status: "expired"` with `expired_at` and `expired_by`. Imports don't count against API calls. `memanto migrate to-cloud` uses this.

```bash cURL theme={null}
curl -X POST "https://api.memanto.ai/agents/my-agent/batch-remember" \
  -H "x-api-key: $MEMANTO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "memories": [
      {
        "content": "Deploys go out on Tuesdays",
        "type": "fact"
      },
      {
        "content": "Use pnpm, not npm",
        "type": "instruction",
        "tags": [
          "tooling"
        ]
      }
    ]
  }'
```

```json 200 - OK theme={null}
{
  "agent_id": "my-agent",
  "total_submitted": 2,
  "successful": 2,
  "failed": 0,
  "results": [
    {
      "id": "8d1e…",
      "status": "queued",
      "action": "store",
      "reason": "MVP direct store"
    },
    {
      "id": "c47a…",
      "status": "queued",
      "action": "store",
      "reason": "MVP direct store"
    }
  ]
}
```


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