Update Memory Config Endpoint
Update the episodic and/or semantic memory configuration.
This endpoint allows updating the memory configuration at runtime after resources (embedders, language models, rerankers) have been added or changed. Without calling this endpoint, newly added resources will not be used by the memory systems.
Both episodic_memory and semantic_memory are optional. Supply one
or both depending on which sections need updating. Within each section,
only the fields you supply are modified; omitted fields retain their
current values.
Typical workflow:
- Add a new resource via
POST /config/resources/embeddersorPOST /config/resources/language_models - Call this endpoint to point the memory configuration at the new resource
- The configuration is persisted to the configuration file
Example - update episodic long-term memory to use a new embedder:
{
"episodic_memory": {
"long_term_memory": {
"embedder": "my-new-embedder"
}
}
}
Example - update semantic memory to use a new LLM and embedder:
{
"semantic_memory": {
"llm_model": "my-new-model",
"embedding_model": "my-new-embedder"
}
}
Returns 400 if no updates are supplied (both sections are null or empty).
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
Specification for updating memory configuration.
Partial update for episodic memory configuration. Only supplied
fields are updated; omitted fields remain unchanged.
Partial update for semantic memory configuration. Only supplied
fields are updated; omitted fields remain unchanged.

