List Memory Versions
List the recorded versions of one memory entry.
/anthropic/v1/memory_stores/{memory_store_id}/memory_versions○ UnsupportedRequest parameters
memory_store_idstring必填path: Memory store ID (path or query parameter).
api_key_idstring可选query: Return only versions written with this API key.
created_at[gte]string可选query: Return records created at or after this time.
created_at[lte]string可选query: Return records created at or before this time.
memory_idstring可选query: Memory ID (path or query parameter).
operationstring可选query: Return only versions that record this kind of change.
service_account_idstring可选query: Return only versions written by this service account.
session_idstring可选query: Session ID (path or query parameter).
viewstring可选query: Which projection to return: basic omits content, full includes it.
limitnumber可选query: Maximum number of items per page.
▸ 更多参数(1)
pagestring可选query: Pagination cursor taken from the previous response's next_page.
Returns
501 This endpoint is not implemented yet; calling it returns the response below:
The platform does not provide a persistent memory store that agents can read and write yet. Calling it returns 501 (not_implemented_error), produces no side effects, and the official SDK does not retry.
Errors follow the Claude Managed Agents format — see error codes
Response
HTTP 200
Successful response
application/json
| Name | Type | Description |
|---|---|---|
| data | array<object> | |
| data[].id | string | Unique identifier for this version (a `memver_...` value). |
| data[].created_at | string | A timestamp in RFC 3339 format |
| data[].memory_id | string | 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 to retrieve the memory's retained versions, including the `deleted` row while the lineage is retained. |
| data[].memory_store_id | string | ID of the memory store this version belongs to (a `memstore_...` value). |
| data[].operation | string | 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. |
| data[].type | string | |
| data[].content | null | string | 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. |
| data[].content_sha256 | null | string | Lowercase hex SHA-256 digest of `content` as of this version (64 characters). `null` when `redacted_at` is set or `operation` is `deleted`. Populated regardless of `view` otherwise. |
| data[].content_size_bytes | null | number | Size of `content` in bytes as of this version. `null` when `redacted_at` is set or `operation` is `deleted`. Populated regardless of `view` otherwise. |
| data[].created_by | object | 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. |
| data[].path | null | string | The memory's path at the time of this write. `null` if and only if `redacted_at` is set. |
| data[].redacted_at | null | string | A timestamp in RFC 3339 format |
| data[].redacted_by | object | 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. |
| next_page | string | null |