Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

Retrieve a memory changedapi/beta/memory_stores/memories/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.

Recorded here
Lines+16added
Lines−17removed
From line 1 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits20to this page, all time

# Retrieve a memory ## Path parameters ## Query parameters ## Headers ## Returns ## Example ### Response (200) ## Retrieve a memory ### Path Parameters ### Query Parameters ### Header Parameters ### Returns ### Example #### Response

The whole hunk

from line 1, old and new numbered
/
lines
from line 1
1---
2title: Retrieve a memory
3url: https://platform.claude.com/docs/en/api/beta/memory_stores/memories/retrieve
4---
1# Retrieve a memory
52 
6## Retrieve a memory
3**GET** `/v1/memory_stores/{memory_store_id}/memories/{memory_id}`
74 
8**get** `/v1/memory_stores/{memory_store_id}/memories/{memory_id}`
9 
105Retrieve a memory
116 
12### Path Parameters
7## Path parameters
138 
149- `memory_store_id: string`
1510 
1611- `memory_id: string`
1712 
18### Query Parameters
13## Query parameters
1914 
2015- `view: optional BetaManagedAgentsMemoryView`
2116 
from line 20
2520 
2621 - `"full"`
2722 
28### Header Parameters
23## Headers
2924 
3025- `"anthropic-beta": optional array of AnthropicBeta`
3126 
from line 98
10398 
10499 - `"mid-conversation-tool-changes-2026-07-01"`
105100 
106### Returns
101## Returns
107102 
108- `BetaManagedAgentsMemory object { id, content_sha256, content_size_bytes, 7 more }`
103- `BetaManagedAgentsMemory object`
109104 
110105 A `memory` object: a single text document at a hierarchical path inside a memory store. The `content` field is populated when `view=full` and `null` when `view=basic`; the `content_size_bytes` and `content_sha256` fields are always populated so sync clients can diff without fetching content. Memories are addressed by their `mem_...` ID; the path is the create key and can be changed via update.
111106 
from line 116
121116 
122117 Size of `content` in bytes (the UTF-8 plaintext length). Always populated, regardless of `view`.
123118 
119 format: int32
120 
124121 - `created_at: string`
125122 
126123 A timestamp in RFC 3339 format
127124 
125 format: date-time
126 
128127 - `memory_store_id: string`
129128 
130129 ID of the memory store this memory belongs to (a `memstore_...` value).
from line 138
139138 
140139 - `type: "memory"`
141140 
142 - `"memory"`
143 
144141 - `updated_at: string`
145142 
146143 A timestamp in RFC 3339 format
147144 
145 format: date-time
146 
148147 - `content: optional string or null`
149148 
150149 The memory's UTF-8 text content. Populated when `view=full`; `null` when `view=basic`. Maximum 100 kB (102,400 bytes).
151150 
152### Example
151## Example
153152 
154```http
153```bash
155154curl https://api.anthropic.com/v1/memory_stores/$MEMORY_STORE_ID/memories/$MEMORY_ID \
156155 -H 'anthropic-version: 2023-06-01' \
157156 -H 'anthropic-beta: agent-memory-2026-07-22' \
from line 157
158157 -H "X-Api-Key: $ANTHROPIC_API_KEY"
159158```
160159 
161#### Response
160### Response (200)
162161 
163162```json
164163{
Feedback