Ingest
Update document
Update a document with any content type (text, url, file, etc.) and metadata
patch/v3/documents/{id}
Path parameters
idstring required
Request body
Example request
{
"containerTag": "user_123",
"containerTags": [
"user_123",
"project_123"
],
"content": "This is a detailed article about machine learning concepts...",
"customId": "mem_abc123",
"metadata": {
"category": "technology",
"isPublic": true,
"readingTime": 5,
"source": "web",
"tag_1": "ai",
"tag_2": "machine-learning"
},
"taskType": "memory",
"filepath": "/documents/reports/file.pdf"
}Response
Document updated successfully