Skip to main content
PUT
/
api
/
v2
/
config
/
memory
/
episodic
/
short_term
Update Short Term Memory Config
curl --request PUT \
  --url http://localhost:8080/api/v2/config/memory/episodic/short_term \
  --header 'Content-Type: application/json' \
  --data '
{
  "llm_model": "<string>",
  "message_capacity": 1,
  "enabled": true
}
'
{
  "success": true,
  "message": "<string>"
}

Body

application/json

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

llm_model
string | null
The ID of the language model to use for short-term memory summarization.
Must reference a language model configured in the resources section.
message_capacity
integer | null
The maximum message capacity for short-term memory, in characters.
When exceeded, older messages are summarized.
Required range: x > 0
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.