BrainAPI
BrainAPI
Rest

For the complete BrainAPI documentation index, see llms.txt. A markdown version of any docs page is available by appending .md to its URL. Docs MCP: /docs/mcp.

Update Memory

Update a memory with new content. This will start a background task to update the memory. You can check the status of the task by using the task_id.

POST
/api/v1/memory/update/

Header Parameters

X-LumenBrain-ApiKey*X-Lumenbrain-Apikey

API Key for authentication

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/v1/memory/update/" \  -H "X-LumenBrain-ApiKey: string" \  -H "Content-Type: application/json" \  -d '{    "memory_uuid": "string",    "type": "message",    "content": "string"  }'
{  "status": "ok",  "task_id": "string",  "memory_id": "string",  "conversation_id": "string"}