Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
One change · api

Redact a memory version changed

api/beta/memory_stores/memory_versions/redact

Nearest release: v2.1.268, published under 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+23added
Lines−14removed
From line 1 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits8to this page, all time

The whole hunk

from line 1, old and new numbered
/
lines
from line 1
1---
2title: Redact a memory version
3url: https://platform.claude.com/docs/en/api/beta/memory_stores/memory_versions/redact
4---
5 
16# Redact a memory version
27 
38**POST** `/v1/memory_stores/{memory_store_id}/memory_versions/{memory_version_id}/redact`
from line 23
1823 
1924 - `string`
2025 
21 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
26 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2227 
2328 - `"message-batches-2024-09-24"`
2429 
from line 71
6671 
6772 - `"user-profiles-2026-08-18"`
6873 
74 - `"user-profiles-2026-09-04"`
75 
6976 - `"advisor-tool-2026-03-01"`
7077 
7178 - `"managed-agents-2026-04-01"`
from line 115
108115 
109116 - `"mid-conversation-system-clear-at-2026-08-21"`
110117 
118- `"anthropic-workspace-id": optional string`
119 
111120## Returns
112121 
113122- `BetaManagedAgentsMemoryVersion object`
from line 123
114123 
115124 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.
116125 
126 - `type: "memory_version"`
127 
117128 - `id: string`
118129 
119130 Unique identifier for this version (a `memver_...` value).
from line 153
142153 
143154 - `"deleted"`
144155 
145 - `type: "memory_version"`
146 
147156 - `content: optional string or null`
148157 
149158 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 169
160169 
161170 - `created_by: optional BetaManagedAgentsActor`
162171 
163 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).
172 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).
164173 
165174 - `BetaManagedAgentsSessionActor object`
166175 
167176 Attribution for a write made by an agent during a session, through the mounted filesystem at `/mnt/memory/`.
168177 
178 - `type: "session_actor"`
179 
169180 - `session_id: string`
170181 
171 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.
182 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.
172183 
173184 minLength: 1
174185 
175 - `type: "session_actor"`
176 
177186 - `BetaManagedAgentsAPIActor object`
178187 
179188 Attribution for a write made directly via the public API (outside of any session).
180189 
190 - `type: "api_actor"`
191 
181192 - `api_key_id: string`
182193 
183194 ID of the API key that performed the write. This identifies the key, not the secret.
from line 195
184195 
185196 minLength: 1
186197 
187 - `type: "api_actor"`
188 
189198 - `BetaManagedAgentsUserActor object`
190199 
191200 Attribution for a write made by a human user through the Anthropic Console.
from line 211
202211 
203212 Attribution for a write made by a workload authenticated as a service account, for example via Workload Identity Federation.
204213 
214 - `type: "service_account_actor"`
215 
205216 - `service_account_id: string`
206217 
207218 ID of the service account that performed the write (a `svac_...` value).
from line 219
208219 
209220 minLength: 1
210221 
211 - `type: "service_account_actor"`
212 
213222 - `path: optional string or null`
214223 
215224 The memory's path at the time of this write. `null` if and only if `redacted_at` is set.
from line 231
222231 
223232 - `redacted_by: optional BetaManagedAgentsActor`
224233 
225 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).
234 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).
226235 
227236## Example
228237