Memory Versions
List memory versions
Retrieve a memory version
Redact a memory version
Models
BetaManagedAgentsActor = BetaManagedAgentsSessionActor or BetaManagedAgentsAPIActor or BetaManagedAgentsUserActor or BetaManagedAgentsServiceAccountActorIdentifies who performed an operation. Recorded when the operation happens and not updated afterwards, so the ID may refer to a user, service account, API key, or session that has since been deleted.
Identifies who performed an operation. Recorded when the operation happens and not updated afterwards, so the ID may refer to a user, service account, API key, or session that has since been deleted.
BetaManagedAgentsAPIActor object{ type: "api_actor", api_key_id }A direct caller of the public API, identified by the API key that authenticated the request.
A direct caller of the public API, identified by the API key that authenticated the request.
api_key_id: stringID of the API key (an apikey_... value). This identifies the key, not the secret.
ID of the API key (an apikey_... value). This identifies the key, not the secret.
BetaManagedAgentsMemoryVersion object{ type: "memory_version", id, created_at, 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 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.
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.
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.
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.
The memory was created. The first version in any memory's lineage.
The memory's content, path, or both were changed via update. Writes the agent makes through the filesystem mount also appear as modified.
The memory was deleted. The content, content_size_bytes, and content_sha256 fields are null on this version. The preceding version, while it is retained, records the deleted content's size and hash.
BetaManagedAgentsServiceAccountActor object{ type: "service_account_actor", service_account_id }A workload authenticated as a service account, for example via Workload Identity Federation.
A workload authenticated as a service account, for example via Workload Identity Federation.
service_account_id: stringID of the service account (a svac_... value).
ID of the service account (a svac_... value).
BetaManagedAgentsSessionActor object{ type: "session_actor", session_id }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.
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.
session_id: stringID of the session (a sesn_... value). Look up the session via Retrieve a session for further provenance.
ID of the session (a sesn_... value). Look up the session via Retrieve a session for further provenance.
BetaManagedAgentsUserActor object{ type: "user_actor", user_id }A human user, for example acting through the Anthropic Console.
A human user, for example acting through the Anthropic Console.
user_id: stringID of the user (a user_... value).
ID of the user (a user_... value).