Skip to main content
PATCH
/
v1
/
memory
/
{id}
curl -X PATCH https://api.velixarai.com/v1/memory/mem_abc123 \
  -H "Authorization: Bearer vlx_your_key" \
  -H "Content-Type: application/json" \
  -d '{"content": "User prefers light mode now", "tier": 0}'
{
  "id": "mem_abc123",
  "updated": true
}

Path parameters

id
string
required
The memory ID to update.

Request body

content
string
Updated memory content. Re-embeds the memory for search.
tier
integer
Updated tier (0–3).
tags
string[]
Updated tags (replaces existing).
metadata
object
Updated metadata (merged with existing).
curl -X PATCH https://api.velixarai.com/v1/memory/mem_abc123 \
  -H "Authorization: Bearer vlx_your_key" \
  -H "Content-Type: application/json" \
  -d '{"content": "User prefers light mode now", "tier": 0}'
{
  "id": "mem_abc123",
  "updated": true
}