Retrieve a memory store
api/beta/memory_stores/retrieve
Nearest release: v2.1.245, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
api/beta/memory_stores/retrieve Changed · +15 / -16 lines
# Retrieve a memory store ## Path parameters ## Headers ## Returns ## Example ### Response (200) ## Retrieve a memory store ### Path Parameters ### Header Parameters ### Returns ### Example #### Response
---- -title: Retrieve a memory store -url: https://platform.claude.com/docs/en/api/beta/memory_stores/retrieve ---- +# Retrieve a memory store -## Retrieve a memory store +**GET** `/v1/memory_stores/{memory_store_id}` -**get** `/v1/memory_stores/{memory_store_id}` - Retrieve a memory store -### Path Parameters +## Path parameters - `memory_store_id: string` -### Header Parameters +## Headers - `"anthropic-beta": optional array of AnthropicBeta`
- `"mid-conversation-tool-changes-2026-07-01"` -### Returns +## Returns -- `BetaManagedAgentsMemoryStore object { id, created_at, name, 5 more }` +- `BetaManagedAgentsMemoryStore object` A `memory_store`: a named container for agent memories, scoped to a workspace. Attach a store to a session via `resources[]` to mount it as a directory the agent can read and write.
A timestamp in RFC 3339 format + format: date-time + - `name: string` Human-readable name for the store. 1–255 characters. The store's mount-path slug under `/mnt/memory/` is derived from this name.
- `type: "memory_store"` - - `"memory_store"` - - `updated_at: string` A timestamp in RFC 3339 format + format: date-time + - `archived_at: optional string or null` A timestamp in RFC 3339 format + format: date-time + - `description: optional string` Free-text description of what the store contains, up to 1024 characters. Included in the agent's system prompt when the store is attached, so word it to be useful to the agent. Empty string when unset.
Arbitrary key-value tags for your own bookkeeping (such as the end user a store belongs to). Up to 16 pairs; keys 1–64 characters; values up to 512 characters. Returned on retrieve/list but not filterable. -### Example +## Example -```http +```bash curl https://api.anthropic.com/v1/memory_stores/$MEMORY_STORE_ID \ -H 'anthropic-version: 2023-06-01' \ -H 'anthropic-beta: agent-memory-2026-07-22' \
-H "X-Api-Key: $ANTHROPIC_API_KEY" ``` -#### Response +### Response (200) ```json {