Redact a memory version changedapi/beta/memory_stores/memory_versions/redact
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
18
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 18, old and new numbered
/
from line 18
1818
1919 - `string`
2020
21 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
21 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
2222
2323 - `"message-batches-2024-09-24"`
2424
from line 88
8888
8989 - `"mid-conversation-tool-changes-2026-07-01"`
9090
91 - `"compact-2026-01-12"`
92
93 - `"computer-use-2025-11-24"`
94
95 - `"mcp-tunnels-2026-06-22"`
96
97 - `"structured-outputs-2025-11-13"`
98
99 - `"task-budgets-2026-03-13"`
100
101 - `"thinking-display-updates-2026-08-18"`
102
103 - `"ce-user-management-2026-07-13"`
104
91105## Returns
92106
93107- `BetaManagedAgentsMemoryVersion object`
94108
95 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.
109 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.
96110
97111 - `id: string`
98112
from line 120
106120
107121 - `memory_id: string`
108122
109 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.
123 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.
110124
111125 - `memory_store_id: string`
112126
No line in this hunk matches that.