v1
Memory
Update Memory V1
Update an existing memory item by ID.
**Authentication Required**:
One of the following authentication methods must be used:
- Bearer token in `Authorization` header
- API Key in `X-API-Key` header
- Session token in `X-Session-Token` header
**Required Headers**:
- Content-Type: application/json
- X-Client-Type: (e.g., 'papr_plugin', 'browser_extension')
The API validates content size against MAX_CONTENT_LENGTH environment variable (defaults to 15000 bytes).
put/v1/memory/{memory_id}
Path parameters
memory_idstring required
Query parameters
enable_holographicboolean
If True, re-processes holographic neural transforms after content update
If True, re-processes holographic neural transforms after content update
frequency_schema_idstring nullable
Frequency schema for holographic embedding (e.g. 'cosqa', 'scifact').
Frequency schema for holographic embedding (e.g. 'cosqa', 'scifact').
Request body
Example request
{
"content": "Updated meeting notes from the product planning session",
"context": [
{
"content": "Let's update the Q2 product roadmap",
"role": "user"
},
{
"content": "I'll help you update the roadmap. What changes would you like to make?",
"role": "assistant"
}
],
"metadata": {
"emoji tags": "📊,💡,📝,✨",
"emotion tags": "focused, productive, satisfied",
"hierarchical structures": "Business/Planning/Product/Updates",
"topics": "product, planning, updates"
},
"relationships_json": [
{
"metadata": {
"relevance": "high"
},
"related_item_id": "previous_memory_item_id",
"related_item_type": "TextMemoryItem",
"relation_type": "updates"
}
],
"type": "text"
}Response
Memory successfully updated