Skip to main content
PUT
/
api
/
v2
/
config
/
memory
/
episodic
/
long_term
Update Long Term Memory Config
curl --request PUT \
  --url http://localhost:8080/api/v2/config/memory/episodic/long_term \
  --header 'Content-Type: application/json' \
  --data '
{
  "embedder": "<string>",
  "reranker": "<string>",
  "vector_graph_store": "<string>",
  "vector_store": "<string>",
  "segment_store": "<string>",
  "properties_schema": {},
  "enabled": true
}
'
{
  "success": true,
  "message": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.memmachine.ai/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json

Specification for updating long-term memory configuration with enabled flag.

backend
enum<string> | null

Long-term memory backend. Omit/null to keep the existing backend; set 'declarative' or 'event' to switch.

Available options:
declarative,
event
embedder
string | null
The ID of the embedder resource to use for long-term memory.
Must reference an embedder configured in the resources section.
reranker
string | null
The ID of the reranker resource to use for long-term memory search.
Must reference a reranker configured in the resources section.
vector_graph_store
string | null
The ID of the vector graph store (database) for storing long-term memories.
Must reference a database configured in the resources section.
vector_store
string | null

VectorStore resource id (event backend only)

segment_store
string | null

SQL engine resource id backing the segment store (event backend only)

properties_schema
Properties Schema · object

User-defined filterable properties (event backend only)

enabled
boolean | null

Response

Successful Response

Response model for memory configuration update.

success
boolean
required
Whether the operation succeeded.
message
string
required
Status message describing the result of the operation.