Claude Platform Docs

Memory Versions

List Memory Versions
$client->beta->memoryStores->memoryVersions->list(string memoryStoreID, ?string apiKeyID, ?\Datetime createdAtGte, ?\Datetime createdAtLte, ?int limit, ?string memoryID, ?ManagedAgentsMemoryVersionOperation operation, ?string page, ?string serviceAccountID, ?string sessionID, ?ManagedAgentsMemoryView view, ?list<AnthropicBeta> betas, ?string workspaceID): PageCursor<ManagedAgentsMemoryVersion>
GET/v1/memory_stores/{memory_store_id}/memory_versions
Requires anthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. How to send beta headers
Retrieve a Memory Version
$client->beta->memoryStores->memoryVersions->retrieve(string memoryVersionID, string memoryStoreID, ?ManagedAgentsMemoryView view, ?list<AnthropicBeta> betas, ?string workspaceID): ManagedAgentsMemoryVersion
GET/v1/memory_stores/{memory_store_id}/memory_versions/{memory_version_id}
Requires anthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. How to send beta headers
Redact a Memory Version
$client->beta->memoryStores->memoryVersions->redact(string memoryVersionID, string memoryStoreID, ?list<AnthropicBeta> betas, ?string workspaceID): ManagedAgentsMemoryVersion
POST/v1/memory_stores/{memory_store_id}/memory_versions/{memory_version_id}/redact
Requires anthropic-beta: agent-memory-2026-07-22 or anthropic-beta: managed-agents-2026-04-01. How to send beta headers
Models
One of the following:
class ManagedAgentsAPIActor { $type = 'api_actor'; $apiKeyID; }
"api_actor" type
string apiKeyID

ID of the API key (an apikey_... value). This identifies the key, not the secret.

class ManagedAgentsMemoryVersion { $type = 'memory_version'; $id; $createdAt; /* 10 more */ }
One of the following:
"created"

The memory was created. The first version in any memory's lineage.

"modified"

The memory's content, path, or both were changed via update. Writes the agent makes through the filesystem mount also appear as modified.

"deleted"

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.

class ManagedAgentsServiceAccountActor { $type = 'service_account_actor'; $serviceAccountID; }
"service_account_actor" type
string serviceAccountID

ID of the service account (a svac_... value).

class ManagedAgentsSessionActor { $type = 'session_actor'; $sessionID; }
"session_actor" type
string sessionID

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

class ManagedAgentsUserActor { $type = 'user_actor'; $userID; }
"user_actor" type
string userID

ID of the user (a user_... value).