Retrieve a memory version changedapi/beta/memory_stores/memory_versions/retrieve
Nearest release: v2.1.247, published under an hour before 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+17added
Lines−3removed
From line
28
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits21to this page, all time
The whole hunk
from line 28, old and new numbered
/
from line 28
2828
2929 - `string`
3030
31 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
31 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
3232
3333 - `"message-batches-2024-09-24"`
3434
from line 98
9898
9999 - `"mid-conversation-tool-changes-2026-07-01"`
100100
101 - `"compact-2026-01-12"`
102
103 - `"computer-use-2025-11-24"`
104
105 - `"mcp-tunnels-2026-06-22"`
106
107 - `"structured-outputs-2025-11-13"`
108
109 - `"task-budgets-2026-03-13"`
110
111 - `"thinking-display-updates-2026-08-18"`
112
113 - `"ce-user-management-2026-07-13"`
114
101115## Returns
102116
103117- `BetaManagedAgentsMemoryVersion object`
104118
105 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.
119 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.
106120
107121 - `id: string`
108122
from line 130
116130
117131 - `memory_id: string`
118132
119 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.
133 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 memory's retained versions, including the `deleted` row while the lineage is retained.
120134
121135 - `memory_store_id: string`
122136
No line in this hunk matches that.