curl -X PATCH "https://api.memanto.ai/agents/my-agent/memories/3f2a9c1e-…" \
-H "x-api-key: $MEMANTO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"content": "The user prefers light mode",
"confidence": 0.95
}'
{
"agent_id": "my-agent",
"memory_id": "3f2a9c1e-…",
"status": "updated",
"action": "updated",
"updated_fields": [
"content",
"confidence"
]
}
Memories
Edit Memory
Update fields of one memory.
PATCH
/
agents
/
{agent_id}
/
memories
/
{memory_id}
curl -X PATCH "https://api.memanto.ai/agents/my-agent/memories/3f2a9c1e-…" \
-H "x-api-key: $MEMANTO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"content": "The user prefers light mode",
"confidence": 0.95
}'
{
"agent_id": "my-agent",
"memory_id": "3f2a9c1e-…",
"status": "updated",
"action": "updated",
"updated_fields": [
"content",
"confidence"
]
}
Overview
Updates any of the memory’stitle, content, type, confidence, tags, source and provenance. Fields you leave out keep their value. An expired memory stays expired.
Authentication
Your Memanto Cloud API key (
mk_...). See Authentication.Path Parameters
Body
At least one of the fields of Remember.curl -X PATCH "https://api.memanto.ai/agents/my-agent/memories/3f2a9c1e-…" \
-H "x-api-key: $MEMANTO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"content": "The user prefers light mode",
"confidence": 0.95
}'
{
"agent_id": "my-agent",
"memory_id": "3f2a9c1e-…",
"status": "updated",
"action": "updated",
"updated_fields": [
"content",
"confidence"
]
}