curl -X PATCH "https://api.flumes.ai/v1/memories/mem_8dfe6a4f" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $FLUMES_API_KEY" \
  -d '{
    "memory": "Paris is the capital city of France.",
    "metadata": {"edited_by": "agent-42"}
  }'
{
  "message": "Memory updated successfully!"
}
Authorization
string
required
Bearer token used for authentication. Format: Bearer YOUR_API_KEY.
memory_id
string
required
Identifier of the memory you want to update.
memory
string
required
New memory text that replaces the existing content.
metadata
object
Optional metadata object to merge with the existing metadata.
curl -X PATCH "https://api.flumes.ai/v1/memories/mem_8dfe6a4f" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $FLUMES_API_KEY" \
  -d '{
    "memory": "Paris is the capital city of France.",
    "metadata": {"edited_by": "agent-42"}
  }'
{
  "message": "Memory updated successfully!"
}