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 version changedapi/beta/memory_stores/memory_versions/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+31added
Lines−32removed
From line 1 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits21to this page, all time

# Retrieve a memory version ## Path parameters ## Query parameters ## Headers ## Returns ## Example ### Response (200) ## Retrieve a memory version ### 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 version
3url: https://platform.claude.com/docs/en/api/beta/memory_stores/memory_versions/retrieve
4---
1# Retrieve a memory version
52 
6## Retrieve a memory version
3**GET** `/v1/memory_stores/{memory_store_id}/memory_versions/{memory_version_id}`
74 
8**get** `/v1/memory_stores/{memory_store_id}/memory_versions/{memory_version_id}`
9 
105Retrieve a memory version
116 
12### Path Parameters
7## Path parameters
138 
149- `memory_store_id: string`
1510 
1611- `memory_version_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- `BetaManagedAgentsMemoryVersion object { id, created_at, memory_id, 10 more }`
103- `BetaManagedAgentsMemoryVersion object`
109104 
110105 A `memory_version` object: one immutable, attributed row in a memory's append-only history. Every non-no-op mutation to a memory produces a new version. Versions belong to the store (not the individual memory) and persist after the memory is deleted. Retrieving a redacted version returns 200 with `content`, `path`, `content_size_bytes`, and `content_sha256` set to `null`; branch on `redacted_at`, not HTTP status.
111106 
from line 112
117112 
118113 A timestamp in RFC 3339 format
119114 
115 format: date-time
116 
120117 - `memory_id: string`
121118 
122119 ID of the memory this version snapshots (a `mem_...` value). Remains valid after the memory is deleted; pass it as `memory_id` to [List memory versions](/docs/en/api/beta/memory_stores/memory_versions/list) to retrieve the full lineage including the `deleted` row.
from line 134
137134 
138135 - `type: "memory_version"`
139136 
140 - `"memory_version"`
141 
142137 - `content: optional string or null`
143138 
144139 The memory's UTF-8 text content as of this version. `null` when `view=basic`, when `operation` is `deleted`, or when `redacted_at` is set.
from line 146
151146 
152147 Size of `content` in bytes as of this version. `null` when `redacted_at` is set or `operation` is `deleted`. Populated regardless of `view` otherwise.
153148 
149 format: int32
150 
154151 - `created_by: optional BetaManagedAgentsActor`
155152 
156153 Identifies who performed a write or redact operation. Captured at write time on the `memory_version` row. The API key that created a session is not recorded on agent writes; attribution answers who made the write, not who is ultimately responsible. Look up session provenance separately via the [Sessions API](/docs/en/api/sessions-retrieve).
157154 
158 - `BetaManagedAgentsSessionActor object { session_id, type }`
155 - `BetaManagedAgentsSessionActor object`
159156 
160157 Attribution for a write made by an agent during a session, through the mounted filesystem at `/mnt/memory/`.
161158 
from line 160
163160 
164161 ID of the session that performed the write (a `sesn_...` value). Look up the session via [Retrieve a session](/docs/en/api/sessions-retrieve) for further provenance.
165162 
163 minLength: 1
164 
166165 - `type: "session_actor"`
167166 
168 - `"session_actor"`
167 - `BetaManagedAgentsAPIActor object`
169168 
170 - `BetaManagedAgentsAPIActor object { api_key_id, type }`
171 
172169 Attribution for a write made directly via the public API (outside of any session).
173170 
174171 - `api_key_id: string`
from line 172
175172 
176173 ID of the API key that performed the write. This identifies the key, not the secret.
177174 
175 minLength: 1
176 
178177 - `type: "api_actor"`
179178 
180 - `"api_actor"`
179 - `BetaManagedAgentsUserActor object`
181180 
182 - `BetaManagedAgentsUserActor object { type, user_id }`
183 
184181 Attribution for a write made by a human user through the Anthropic Console.
185182 
186183 - `type: "user_actor"`
187184 
188 - `"user_actor"`
189 
190185 - `user_id: string`
191186 
192187 ID of the user who performed the write (a `user_...` value).
193188 
194 - `BetaManagedAgentsServiceAccountActor object { service_account_id, type }`
189 minLength: 1
195190 
191 - `BetaManagedAgentsServiceAccountActor object`
192 
196193 Attribution for a write made by a workload authenticated as a service account, for example via Workload Identity Federation.
197194 
198195 - `service_account_id: string`
from line 196
199196 
200197 ID of the service account that performed the write (a `svac_...` value).
201198 
199 minLength: 1
200 
202201 - `type: "service_account_actor"`
203202 
204 - `"service_account_actor"`
205 
206203 - `path: optional string or null`
207204 
208205 The memory's path at the time of this write. `null` if and only if `redacted_at` is set.
from line 208
211208 
212209 A timestamp in RFC 3339 format
213210 
211 format: date-time
212 
214213 - `redacted_by: optional BetaManagedAgentsActor`
215214 
216215 Identifies who performed a write or redact operation. Captured at write time on the `memory_version` row. The API key that created a session is not recorded on agent writes; attribution answers who made the write, not who is ultimately responsible. Look up session provenance separately via the [Sessions API](/docs/en/api/sessions-retrieve).
217216 
218### Example
217## Example
219218 
220```http
219```bash
221220curl https://api.anthropic.com/v1/memory_stores/$MEMORY_STORE_ID/memory_versions/$MEMORY_VERSION_ID \
222221 -H 'anthropic-version: 2023-06-01' \
223222 -H 'anthropic-beta: agent-memory-2026-07-22' \
from line 223
224223 -H "X-Api-Key: $ANTHROPIC_API_KEY"
225224```
226225 
227#### Response
226### Response (200)
228227 
229228```json
230229{
Feedback