Update an agent memory entry

Update an agent memory entry

Replaces or, with `append: true`, appends to the entry's content; importance and metadata are optional.

PATCH/api/agent/memory/{id}
Path parameters
idstringrequired
Body
contentstringrequired
appendbooleandefault: false
importancenumber
metadataobject

Request

curl
curl -X PATCH https://trickest.io/api/agent/memory/{id} \
  -H "Authorization: Bearer $TRICKEST_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ }'

Responses

200The updated entry
idstringrequired
vault_idstringrequired
keystringrequired
typeenumrequired

One of: section, log, workflow_meta, session_chunk, plan, session_memory, workflow_context, note

contentstringrequired
importancenumberrequireddefault: 3
metadataobject
created_atstringrequired
updated_atstringrequired
400Bad Request – validation error or malformed input
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

401Unauthorized – missing or expired token
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

403Forbidden – insufficient permissions
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

429Too Many Requests – rate limited
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

500Internal Server Error
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.