Update Episodic Memory Config
curl --request PUT \
--url http://localhost:8080/api/v2/config/memory/episodic \
--header 'Content-Type: application/json' \
--data '
{
"long_term_memory": {
"embedder": "<string>",
"reranker": "<string>",
"vector_graph_store": "<string>",
"vector_store": "<string>",
"segment_store": "<string>",
"properties_schema": {}
},
"short_term_memory": {
"llm_model": "<string>",
"message_capacity": 1
},
"long_term_memory_enabled": true,
"short_term_memory_enabled": true,
"enabled": true
}
'import requests
url = "http://localhost:8080/api/v2/config/memory/episodic"
payload = {
"long_term_memory": {
"embedder": "<string>",
"reranker": "<string>",
"vector_graph_store": "<string>",
"vector_store": "<string>",
"segment_store": "<string>",
"properties_schema": {}
},
"short_term_memory": {
"llm_model": "<string>",
"message_capacity": 1
},
"long_term_memory_enabled": True,
"short_term_memory_enabled": True,
"enabled": True
}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
long_term_memory: {
embedder: '<string>',
reranker: '<string>',
vector_graph_store: '<string>',
vector_store: '<string>',
segment_store: '<string>',
properties_schema: {}
},
short_term_memory: {llm_model: '<string>', message_capacity: 1},
long_term_memory_enabled: true,
short_term_memory_enabled: true,
enabled: true
})
};
fetch('http://localhost:8080/api/v2/config/memory/episodic', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "8080",
CURLOPT_URL => "http://localhost:8080/api/v2/config/memory/episodic",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'long_term_memory' => [
'embedder' => '<string>',
'reranker' => '<string>',
'vector_graph_store' => '<string>',
'vector_store' => '<string>',
'segment_store' => '<string>',
'properties_schema' => [
]
],
'short_term_memory' => [
'llm_model' => '<string>',
'message_capacity' => 1
],
'long_term_memory_enabled' => true,
'short_term_memory_enabled' => true,
'enabled' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "http://localhost:8080/api/v2/config/memory/episodic"
payload := strings.NewReader("{\n \"long_term_memory\": {\n \"embedder\": \"<string>\",\n \"reranker\": \"<string>\",\n \"vector_graph_store\": \"<string>\",\n \"vector_store\": \"<string>\",\n \"segment_store\": \"<string>\",\n \"properties_schema\": {}\n },\n \"short_term_memory\": {\n \"llm_model\": \"<string>\",\n \"message_capacity\": 1\n },\n \"long_term_memory_enabled\": true,\n \"short_term_memory_enabled\": true,\n \"enabled\": true\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("http://localhost:8080/api/v2/config/memory/episodic")
.header("Content-Type", "application/json")
.body("{\n \"long_term_memory\": {\n \"embedder\": \"<string>\",\n \"reranker\": \"<string>\",\n \"vector_graph_store\": \"<string>\",\n \"vector_store\": \"<string>\",\n \"segment_store\": \"<string>\",\n \"properties_schema\": {}\n },\n \"short_term_memory\": {\n \"llm_model\": \"<string>\",\n \"message_capacity\": 1\n },\n \"long_term_memory_enabled\": true,\n \"short_term_memory_enabled\": true,\n \"enabled\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:8080/api/v2/config/memory/episodic")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Put.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"long_term_memory\": {\n \"embedder\": \"<string>\",\n \"reranker\": \"<string>\",\n \"vector_graph_store\": \"<string>\",\n \"vector_store\": \"<string>\",\n \"segment_store\": \"<string>\",\n \"properties_schema\": {}\n },\n \"short_term_memory\": {\n \"llm_model\": \"<string>\",\n \"message_capacity\": 1\n },\n \"long_term_memory_enabled\": true,\n \"short_term_memory_enabled\": true,\n \"enabled\": true\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Configuration
Update Episodic Memory Config
Update episodic memory configuration.
This endpoint updates the episodic memory configuration at runtime, including both long-term and short-term memory settings. Only the fields you supply are modified; omitted fields retain their current values.
The configuration includes:
- long_term_memory: Long-term memory settings (embedder, reranker, vector_graph_store)
- short_term_memory: Short-term memory settings (llm_model, message_capacity)
- long_term_memory_enabled: Whether long-term memory is enabled
- short_term_memory_enabled: Whether short-term memory is enabled
- enabled: Whether episodic memory is enabled overall
PUT
/
api
/
v2
/
config
/
memory
/
episodic
Update Episodic Memory Config
curl --request PUT \
--url http://localhost:8080/api/v2/config/memory/episodic \
--header 'Content-Type: application/json' \
--data '
{
"long_term_memory": {
"embedder": "<string>",
"reranker": "<string>",
"vector_graph_store": "<string>",
"vector_store": "<string>",
"segment_store": "<string>",
"properties_schema": {}
},
"short_term_memory": {
"llm_model": "<string>",
"message_capacity": 1
},
"long_term_memory_enabled": true,
"short_term_memory_enabled": true,
"enabled": true
}
'import requests
url = "http://localhost:8080/api/v2/config/memory/episodic"
payload = {
"long_term_memory": {
"embedder": "<string>",
"reranker": "<string>",
"vector_graph_store": "<string>",
"vector_store": "<string>",
"segment_store": "<string>",
"properties_schema": {}
},
"short_term_memory": {
"llm_model": "<string>",
"message_capacity": 1
},
"long_term_memory_enabled": True,
"short_term_memory_enabled": True,
"enabled": True
}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
long_term_memory: {
embedder: '<string>',
reranker: '<string>',
vector_graph_store: '<string>',
vector_store: '<string>',
segment_store: '<string>',
properties_schema: {}
},
short_term_memory: {llm_model: '<string>', message_capacity: 1},
long_term_memory_enabled: true,
short_term_memory_enabled: true,
enabled: true
})
};
fetch('http://localhost:8080/api/v2/config/memory/episodic', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "8080",
CURLOPT_URL => "http://localhost:8080/api/v2/config/memory/episodic",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'long_term_memory' => [
'embedder' => '<string>',
'reranker' => '<string>',
'vector_graph_store' => '<string>',
'vector_store' => '<string>',
'segment_store' => '<string>',
'properties_schema' => [
]
],
'short_term_memory' => [
'llm_model' => '<string>',
'message_capacity' => 1
],
'long_term_memory_enabled' => true,
'short_term_memory_enabled' => true,
'enabled' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "http://localhost:8080/api/v2/config/memory/episodic"
payload := strings.NewReader("{\n \"long_term_memory\": {\n \"embedder\": \"<string>\",\n \"reranker\": \"<string>\",\n \"vector_graph_store\": \"<string>\",\n \"vector_store\": \"<string>\",\n \"segment_store\": \"<string>\",\n \"properties_schema\": {}\n },\n \"short_term_memory\": {\n \"llm_model\": \"<string>\",\n \"message_capacity\": 1\n },\n \"long_term_memory_enabled\": true,\n \"short_term_memory_enabled\": true,\n \"enabled\": true\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("http://localhost:8080/api/v2/config/memory/episodic")
.header("Content-Type", "application/json")
.body("{\n \"long_term_memory\": {\n \"embedder\": \"<string>\",\n \"reranker\": \"<string>\",\n \"vector_graph_store\": \"<string>\",\n \"vector_store\": \"<string>\",\n \"segment_store\": \"<string>\",\n \"properties_schema\": {}\n },\n \"short_term_memory\": {\n \"llm_model\": \"<string>\",\n \"message_capacity\": 1\n },\n \"long_term_memory_enabled\": true,\n \"short_term_memory_enabled\": true,\n \"enabled\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:8080/api/v2/config/memory/episodic")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Put.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"long_term_memory\": {\n \"embedder\": \"<string>\",\n \"reranker\": \"<string>\",\n \"vector_graph_store\": \"<string>\",\n \"vector_store\": \"<string>\",\n \"segment_store\": \"<string>\",\n \"properties_schema\": {}\n },\n \"short_term_memory\": {\n \"llm_model\": \"<string>\",\n \"message_capacity\": 1\n },\n \"long_term_memory_enabled\": true,\n \"short_term_memory_enabled\": true,\n \"enabled\": true\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Body
application/json
Partial update for episodic memory configuration.
Partial update for long-term memory settings. Only supplied fields
are updated; omitted fields remain unchanged.
Show child attributes
Show child attributes
Partial update for short-term memory settings. Only supplied fields
are updated; omitted fields remain unchanged.
Show child attributes
Show child attributes
Whether long-term episodic memory is enabled.
Whether short-term episodic memory is enabled.
Whether episodic memory as a whole is enabled.
⌘I

