Skip to main content
PATCH
/
v1
/
projects
/
{projectId}
/
memory
/
{memoryId}
Update memory
curl --request PATCH \
  --url https://api.example.com/v1/projects/{projectId}/memory/{memoryId} \
  --header 'Content-Type: application/json' \
  --data '
{
  "content": "<string>",
  "category": "<string>",
  "status": "<string>"
}
'
projectId
string
required
Project UUID.
memoryId
string
required
Memory UUID.
content
string
Updated content (1-10,000 characters). Triggers re-embedding.
category
string
One of decision, learning, progress, preference.
status
string
One of active, superseded, conflicting, archived.
curl -X PATCH https://api.getkommit.ai/v1/projects/a1b2c3d4-e5f6-7890-abcd-ef1234567890/memory/m1a2b3c4-d5e6-7890-abcd-ef1234567890 \
  -H "Authorization: Bearer km_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{ "status": "archived" }'