v4
latestOpenAPI 3.1.02026-08-01420618.8 KBIngest
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_alex",
"content": "Our API rate limits are 100 req/min on free and 1000 on pro. Clients should use exponential backoff on 429s.",
"customId": "doc-api-rate-limits",
"metadata": {
"source": "upload",
"language": "en"
},
"taskType": "memory",
"filepath": "/documents/reports/file.pdf",
"filterByMetadata": {
"department": "engineering",
"region": "us"
}
}Response
Document updated successfully