Anthropic Memory Stores API

The Memory Stores API from Anthropic — 7 operation(s) for memory stores.

Operations 14

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v1/memory_stores/{memory_store_id}/archive?beta=true Archive a memory store · Archive a memory store #
Ask an LLM
“How do I retire a memory store without deleting its contents?”
“Can archived memory stores still show up when I list stores?”
Tell an agent destructive · confirm first
Archive memory store {memory_store_id}.
Retire the agent memory store {memory_store_id} but keep it on record.
GET /v1/memory_stores/{memory_store_id}/memories/{memory_id}?beta=true Read one memory from a store · Retrieve a memory #
Ask an LLM
“How can an app read back a single memory an agent saved?”
“Can I fetch just one memory's content by its ID?”
Tell an agent
Read memory {memory_id} from store {memory_store_id}.
Get memory {memory_id} in store {memory_store_id} with view {view}.
POST /v1/memory_stores/{memory_store_id}/memories/{memory_id}?beta=true Edit or rename a memory · Update a memory #
Ask an LLM
“Can I rename a memory's path without changing its content?”
“How do I avoid overwriting a memory someone else just changed?”
Tell an agent
Replace the content of memory {memory_id} in store {memory_store_id} with {content}.
Move memory {memory_id} in store {memory_store_id} to path {path}.
DELETE /v1/memory_stores/{memory_store_id}/memories/{memory_id}?beta=true Delete a memory · Delete a memory #
Ask an LLM
“How do I delete a single memory an agent wrote?”
“Can I make a delete fail if the memory changed since I last read it?”
Tell an agent destructive · confirm first
Delete memory {memory_id} from store {memory_store_id}.
Delete memory {memory_id} in {memory_store_id} only if its SHA-256 is {expected_content_sha256}.
POST /v1/memory_stores/{memory_store_id}/memories?beta=true Write a new memory into a store · Create a memory #
Ask an LLM
“How do I seed a memory store with a file before an agent runs?”
“What's the size limit for a new memory's content?”
Tell an agent
Create a memory at {path} in store {memory_store_id} containing {content}.
Save {content} as a new memory {path} in {memory_store_id}.
GET /v1/memory_stores/{memory_store_id}/memories?beta=true Browse the memories in a store · List memories #
Ask an LLM
“What memories has my agent saved in a store?”
“Can I list only the memories under a folder like /notes/?”
Tell an agent
List the memories in store {memory_store_id}.
List memories under {path_prefix} in store {memory_store_id}.
POST /v1/memory_stores/{memory_store_id}/memory_versions/{memory_version_id}/redact?beta=true Redact a past memory version · Redact a memory version #
Ask an LLM
“How do I scrub sensitive content from an old version of a memory?”
“Can I remove what a memory used to say from its history?”
Tell an agent destructive · confirm first
Redact memory version {memory_version_id} in store {memory_store_id}.
Scrub the content of historical version {memory_version_id} from {memory_store_id}.
GET /v1/memory_stores/{memory_store_id}/memory_versions/{memory_version_id}?beta=true Retrieve a past memory version · Retrieve a memory version #
Ask an LLM
“What did a memory look like at a specific earlier version?”
“Can I inspect a single change recorded in a memory's history?”
Tell an agent
Show memory version {memory_version_id} in store {memory_store_id}.
Get historical version {memory_version_id} of a memory in {memory_store_id}.
GET /v1/memory_stores/{memory_store_id}/memory_versions?beta=true List a store's memory change history · List memory versions #
Ask an LLM
“Which session changed memories in a store, and when?”
“Can I audit memory changes made by one API key or service account?”
Tell an agent
List memory versions in store {memory_store_id}.
List the change history of memory {memory_id} in store {memory_store_id}.
GET /v1/memory_stores/{memory_store_id}?beta=true Retrieve a memory store · Retrieve a memory store #
Ask an LLM
“What name, description and metadata does a memory store have?”
“Can I look up one memory store by its ID?”
Tell an agent
Show memory store {memory_store_id}.
Get the settings of memory store {memory_store_id}.
POST /v1/memory_stores/{memory_store_id}?beta=true Rename or retag a memory store · Update a memory store #
Ask an LLM
“Does renaming a memory store change its mount path slug?”
“How do I add or remove metadata keys on a store?”
Tell an agent
Rename memory store {memory_store_id} to {name}.
Set the description of store {memory_store_id} to {description}.
DELETE /v1/memory_stores/{memory_store_id}?beta=true Delete a memory store · Delete a memory store #
Ask an LLM
“How do I permanently delete a memory store?”
“Is deleting a memory store different from archiving it?”
Tell an agent destructive · confirm first
Delete memory store {memory_store_id}.
Permanently remove store {memory_store_id} and its memories.
POST /v1/memory_stores?beta=true Create a memory store · Create a memory store #
Ask an LLM
“How do I give my agent persistent memory across sessions?”
“Can I tag a memory store with the end user it belongs to?”
Tell an agent
Create a memory store named {name}.
Create store {name} described as {description} with metadata {metadata}.
GET /v1/memory_stores?beta=true List memory stores · List memory stores #
Ask an LLM
“Which memory stores exist for my agents?”
“Can I find stores created within a date range?”
Tell an agent
List my memory stores.
List memory stores created after {created_after}.

Documentation

Specifications

Schemas & Data

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/anthropic:anthropic-memory-stores-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

anthropic-memory-stores-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Anthropic Memory Stores API
servers:
- url: https://api.anthropic.com
tags:


# --- truncated at 32 KB (110 KB total) ---
# Full source: https://artifacts.apis.io/anthropic/openapi/anthropic-memory-stores-api-openapi.yml