Retrieve a Memory Version changedapi/beta/memory_stores/memory_versions/retrieve
Nearest release: v2.1.306, published 2 hours 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+26added
Lines−8removed
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 Version # Retrieve a memory version
The whole hunk
from line 1, old and new numbered
/
from line 1
11---
2title: Retrieve a memory version
2title: Retrieve a Memory Version
33url: https://platform.claude.com/docs/en/api/beta/memory_stores/memory_versions/retrieve
44---
55
6# Retrieve a memory version
6# Retrieve a Memory Version
77
88**GET** `/v1/memory_stores/{memory_store_id}/memory_versions/{memory_version_id}`
99
10Retrieve a memory version
10Retrieve a Memory Version
1111
1212## Path parameters
1313
from line 23
2323
2424- `view: optional BetaManagedAgentsMemoryView`
2525
26 Selects which projection of a `memory` or `memory_version` the server returns. `basic` returns the object with `content` set to `null`; `full` populates `content`. When omitted, the default is endpoint-specific: retrieve operations default to `full`; list, create, and update operations default to `basic`. Listing with `view=full` caps `limit` at 20.
26 Whether a `memory` or `memory_version` in the response includes its `content`. Defaults to `full` on retrieve operations and to `basic` on list, create, and update operations.
2727
28 With `full`, list operations return at most 20 items per page.
29
2830 - `"basic"`
2931
3032 Return the object with `content` set to `null`. The `content_size_bytes` and `content_sha256` fields remain populated, so sync clients can diff without fetching content.
from line 161
159161
160162- `BetaManagedAgentsMemoryVersion object`
161163
162 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 are not deleted with the memory; each version is retained for at least the version retention period after it was written, unless the store itself 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.
164 One entry in a memory's history, recording a single change and who made it.
163165
166 Every change to a memory adds one version. Only redaction can change a version after that. Versions belong to the memory store and stay after the memory is deleted. Each version is retained for at least the version retention period after it was written, unless the store itself is deleted.
167
168 Retrieving a redacted version succeeds, with `content`, `path`, `content_size_bytes`, and `content_sha256` set to `null`. Check `redacted_at` to find out whether a version was redacted.
169
170 See the [memory guide](https://platform.claude.com/docs/en/managed-agents/memory?sdk_languages=http#audit-memory-changes) to learn more about memory versions.
171
164172 - `type: "memory_version"`
165173
166174 - `id: string`
from line 183
175183
176184 - `memory_id: string`
177185
178 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](https://platform.claude.com/docs/en/api/beta/memory_stores/memory_versions/list?sdk_languages=http) to retrieve the memory's retained versions, including the `deleted` row while the lineage is retained.
186 The ID of the memory that this version belongs to (`mem_...`).
179187
188 The ID stays valid after the memory is deleted. Pass it as `memory_id` to [List Memory Versions](https://platform.claude.com/docs/en/api/beta/memory_stores/memory_versions/list?sdk_languages=http) to get the memory's retained versions, including its `deleted` version while the lineage is retained.
189
180190 - `memory_store_id: string`
181191
182192 ID of the memory store this version belongs to (a `memstore_...` value).
from line 223
213223
214224 - `created_by: optional BetaManagedAgentsActor`
215225
216 Who performed this write: one of `session_actor`, `api_actor`, `user_actor`, or `service_account_actor`; `null` when no writer is recorded. Captured at write time and preserved through redaction. A `session_actor` is an agent writing through the store's mounted filesystem at `/mnt/memory/`. The API key that created that session is not recorded on agent writes, so attribution names who made the write, not who is ultimately responsible; look up session provenance via the [Sessions API](https://platform.claude.com/docs/en/api/beta/sessions/retrieve?sdk_languages=http).
226 Who made this change to the memory, or `null` if the author wasn't recorded.
217227
228 Redacting the version doesn't change this field. A `session_actor` here is an agent that wrote through the store's mounted filesystem at `/mnt/memory/`. The version doesn't record the API key that created that session. So the author in `created_by` is who made the change, not who is ultimately responsible for it.
229
230 You can [retrieve the session](https://platform.claude.com/docs/en/api/beta/sessions/retrieve?sdk_languages=http) to learn more about where the change came from.
231
218232 - `BetaManagedAgentsSessionActor object`
219233
220234 An agent acting during a session, for example through the session's mounted filesystem. It names the session itself, not the user or API key that started the session.
from line 283
269283
270284 - `redacted_at: optional string or null`
271285
272 When this version was redacted, in RFC 3339 format, or `null` if it has not been redacted. When set, `content`, `path`, `content_size_bytes`, and `content_sha256` are all `null`. See [Redact a memory version](https://platform.claude.com/docs/en/api/beta/memory_stores/memory_versions/redact?sdk_languages=http).
286 When the version was redacted, in RFC 3339, or `null` if it hasn't been.
287
288 When set, `content`, `path`, `content_size_bytes`, and `content_sha256` are `null`.
289
290 See the [memory guide](https://platform.claude.com/docs/en/managed-agents/memory?sdk_languages=http#redact-a-version) to learn more about redaction.
273291
274292 format: date-time
275293
No line in this hunk matches that.