added
Document Metadata - Update Routes
December 4th, 2024 by Zoran Slamkov
Added
-
Document Metadata Update - New PATCH endpoint
/v1/knowledge-base/docs/{documentID}
to update metadata for entire documents- Updates metadata across all chunks simultaneously
- Note: Not supported for documents of type 'table'
-
Chunk Metadata Update - New PATCH endpoint
/v1/knowledge-base/docs/{documentID}/chunk/{chunkID}
to update metadata for specific chunks- Allows targeted updates to individual chunk metadata
- Supports all document types, including tables
- Other chunks in the document remain unchanged
Examples
Check our API documentation for detailed request/response examples and metadata formatting guidelines.