---
title: "Batch Remember"
method: POST
path: "/api/v2/agents/{agent_id}/batch-remember"
tags: ["Sessions & Agents", "Memory Operations"]
---

# Batch Remember

`POST /api/v2/agents/{agent_id}/batch-remember`

Store multiple memories in batch (Session-based)

Accepts up to 100 memories per request. Leverages Moorcheh's batch
upload capability for efficient storage.

Requires:
- X-Session-Token: {session_token}

The session must be for the specified agent_id.

## Path parameters

- `agent_id` string, required

## Headers

- `x-session-token` string, nullable
- `X-Api-Key` string, nullable

## Cookies

- `memanto_session_token` string, nullable

## Request body

- BatchRememberRequest — Request body for batch-remember endpoint
  - `memories` BatchRememberItem[], required — List of memories to store (max 100)
    - `content` string, required — Memory content
    - `type` 'fact' | 'preference' | 'goal' | 'decision' | 'artifact' | 'learning' | 'event' | 'instruction' | 'relationship' | 'context' | 'observation' | 'commitment' | 'error', nullable — Memory type. Omit to auto-parse.
    - `title` string, nullable — Memory title (defaults to truncated content)
    - `confidence` number — Confidence score (0-1)
    - `tags` string[], nullable — Tags for this memory
    - `source` string — Who wrote this memory — 'user', 'agent', or a specific writer such as 'cursor', 'codex', or 'claude_code'.
    - `provenance` string — How memory was obtained (explicit_statement, inferred, observed, etc.)

## Response `200`

Successful Response

- BatchRememberResponse
  - `agent_id` string, required
  - `session_id` string, required
  - `namespace` string, required
  - `total_submitted` integer, required
  - `successful` integer, required
  - `failed` integer, required
  - `results` BatchRememberResultItem[], required
    - `id` string, required
    - `status` string, required
    - `action` string, nullable
    - `reason` string, nullable
    - `error` string, nullable
    - `type` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/moorcheh-ai/apis/memanto-memory-that-ai-agents-love.md) · [All operations](https://skmtc.net/moorcheh-ai/apis/memanto-memory-that-ai-agents-love/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/moorcheh-ai/memanto-memory-that-ai-agents-love/versions/ff157f2fc5d5/schema)
