Claude Platform Docs

Memory Versions

List memory versions
GET/v1/memory_stores/{memory_store_id}/memory_versions
Retrieve a memory version
GET/v1/memory_stores/{memory_store_id}/memory_versions/{memory_version_id}
Redact a memory version
POST/v1/memory_stores/{memory_store_id}/memory_versions/{memory_version_id}/redact
Models
BetaManagedAgentsActor = BetaManagedAgentsSessionActor { session_id, type } or BetaManagedAgentsAPIActor { api_key_id, type } or BetaManagedAgentsUserActor { type, user_id } or BetaManagedAgentsServiceAccountActor { service_account_id, type }

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.

One of the following:
BetaManagedAgentsAPIActor object{ api_key_id, type }

Attribution for a write made directly via the public API (outside of any session).

api_key_id: string

ID of the API key that performed the write. This identifies the key, not the secret.

minLength1
type: "api_actor"
BetaManagedAgentsMemoryVersion object{ id, created_at, memory_id, 10 more }

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.

BetaManagedAgentsMemoryVersionOperation = "created" or "modified" or "deleted"

The kind of mutation a memory_version records. Every non-no-op mutation to a memory appends exactly one version row with one of these values.

One of the following:
"created"
"modified"
"deleted"
BetaManagedAgentsServiceAccountActor object{ service_account_id, type }

Attribution for a write made by a workload authenticated as a service account, for example via Workload Identity Federation.

service_account_id: string

ID of the service account that performed the write (a svac_... value).

minLength1
type: "service_account_actor"
BetaManagedAgentsSessionActor object{ session_id, type }

Attribution for a write made by an agent during a session, through the mounted filesystem at /mnt/memory/.

session_id: string

ID of the session that performed the write (a sesn_... value). Look up the session via Retrieve a session for further provenance.

minLength1
type: "session_actor"
BetaManagedAgentsUserActor object{ type, user_id }

Attribution for a write made by a human user through the Anthropic Console.

type: "user_actor"
user_id: string

ID of the user who performed the write (a user_... value).

minLength1