The whole hunk
from line 1, old and new numbered
/
lines
from line 1
1---
2title: List memory versions
3url: https://platform.claude.com/docs/en/api/beta/memory_stores/memory_versions/list
4---
5
16# List memory versions
27
38**GET** `/v1/memory_stores/{memory_store_id}/memory_versions`
from line 79
7479
7580 - `string`
7681
77 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
82 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
7883
7984 - `"message-batches-2024-09-24"`
8085
from line 127
122127
123128 - `"user-profiles-2026-08-18"`
124129
130 - `"user-profiles-2026-09-04"`
131
125132 - `"advisor-tool-2026-03-01"`
126133
127134 - `"managed-agents-2026-04-01"`
from line 171
164171
165172 - `"mid-conversation-system-clear-at-2026-08-21"`
166173
174- `"anthropic-workspace-id": optional string`
175
167176## Returns
168177
169178- `data: optional array of BetaManagedAgentsMemoryVersion`
from line 179
170179
171180 One page of `memory_version` objects, ordered by `created_at` descending (newest first), with `id` as tiebreak.
172181
182 - `type: "memory_version"`
183
173184 - `id: string`
174185
175186 Unique identifier for this version (a `memver_...` value).
from line 209
198209
199210 - `"deleted"`
200211
201 - `type: "memory_version"`
202
203212 - `content: optional string or null`
204213
205214 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 225
216225
217226 - `created_by: optional BetaManagedAgentsActor`
218227
219 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).
228 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/beta/sessions/retrieve).
220229
221230 - `BetaManagedAgentsSessionActor object`
222231
223232 Attribution for a write made by an agent during a session, through the mounted filesystem at `/mnt/memory/`.
224233
234 - `type: "session_actor"`
235
225236 - `session_id: string`
226237
227 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.
238 ID of the session that performed the write (a `sesn_...` value). Look up the session via [Retrieve a session](/docs/en/api/beta/sessions/retrieve) for further provenance.
228239
229240 minLength: 1
230241
231 - `type: "session_actor"`
232
233242 - `BetaManagedAgentsAPIActor object`
234243
235244 Attribution for a write made directly via the public API (outside of any session).
236245
246 - `type: "api_actor"`
247
237248 - `api_key_id: string`
238249
239250 ID of the API key that performed the write. This identifies the key, not the secret.
from line 251
240251
241252 minLength: 1
242253
243 - `type: "api_actor"`
244
245254 - `BetaManagedAgentsUserActor object`
246255
247256 Attribution for a write made by a human user through the Anthropic Console.
from line 267
258267
259268 Attribution for a write made by a workload authenticated as a service account, for example via Workload Identity Federation.
260269
270 - `type: "service_account_actor"`
271
261272 - `service_account_id: string`
262273
263274 ID of the service account that performed the write (a `svac_...` value).
from line 275
264275
265276 minLength: 1
266277
267 - `type: "service_account_actor"`
268
269278 - `path: optional string or null`
270279
271280 The memory's path at the time of this write. `null` if and only if `redacted_at` is set.
from line 287
278287
279288 - `redacted_by: optional BetaManagedAgentsActor`
280289
281 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).
290 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/beta/sessions/retrieve).
282291
283292- `next_page: optional string or null`
284293