Skip to main content
Memory Stores

Memory Store Schemas

Memory Store object

FieldTypeDescription
idstringUnique ID (memstore_...)
typestringAlways "memory_store"
namestringHuman-readable name
descriptionstringDescription (empty string when unset)
statusstringStore status; see Memory Store status
entry_countintegerNumber of active memories in the store
total_sizeintegerCombined byte size of active memory content
metadataobjectKey-value metadata
archived_atstring | nullTimestamp when archived, or null
created_atstringRFC 3339 timestamp
updated_atstringRFC 3339 timestamp

Memory Store status

ValueDescription
activeMemories can be created and updated
archivedMemories and versions can be read, but not created or updated

Memory object

FieldTypeDescription
idstringUnique ID (mem_...)
typestringAlways "memory"
memory_store_idstringParent store ID
pathstringMemory path
content_size_bytesintegerContent size in bytes
content_sha256stringSHA-256 hex digest of content
versionintegerCurrent version. Starts at 1, increments on each update
metadataobjectKey-value metadata
contentstringFull content. Returned on create, update, and single retrieval; omitted from list responses
created_atstringRFC 3339 timestamp
updated_atstringRFC 3339 timestamp

Memory Version object

FieldTypeDescription
idstringUnique ID (memver_...)
typestringAlways "memory_version"
memory_store_idstringParent store ID
memory_idstringParent memory ID
pathstringMemory path at the time of the version
content_size_bytesintegerContent size in bytes
content_sha256stringSHA-256 hex digest
operationstringOne of created, updated, deleted
redactedbooleanWhether the version content has been redacted
redacted_atstringRFC 3339 timestamp of redaction. Present only when redacted is true
contentstringVersion content. Returned only on single retrieval and only when not redacted
created_atstringRFC 3339 timestamp

Memory Version operation

ValueDescription
createdThe memory was created
updatedThe memory content was updated
deletedThe memory was deleted (recorded as a tombstone version)