v49

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-261319281.7 MB

List memory versions

get/v1/memory_stores/{memory_store_id}/memory_versions?beta=true

Path parameters

memory_store_idstring required

Path parameter memory_store_id

Query parameters

memory_idstring

Query parameter for memory_id

session_idstring

Query parameter for session_id

api_key_idstring

Query parameter for api_key_id

operation'created' | 'modified' | '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.

Query parameter for operation

created_at[gte]string date-time

A timestamp in RFC 3339 format

Return versions created at or after this time (inclusive).

created_at[lte]string date-time

A timestamp in RFC 3339 format

Return versions created at or before this time (inclusive).

limitinteger

Query parameter for limit

pagestring

Query parameter for page

view'basic' | 'full'

Selects which projection of a memory or memory_version the server returns. basic returns the object with content set to null; full populates content. When omitted, the default is endpoint-specific: retrieve operations default to full; list, create, and update operations default to basic. Listing with view=full caps limit at 20.

Query parameter for view

Headers

x-api-keystring
anthropic-versionstring
anthropic-betastring

Response

Successful response (OK)

next_pagestring nullable

Opaque cursor for the next page (a page_... value), or null if there are no more results. Pass as page on the next request.