Documents
Update Document
Updates a document. This endpoint is atomic.
Currently both metadata and index_status are supported.
- When updating with a non-null metadata, the document must have index_status of indexed. After this call, the document will have an index_status of not_indexed, since the document will need to reindex with the new metadata.
- When updating with a non-null index_status, setting it to not_parsed or not_indexed requires that the document must have index_status of parsing_failed or indexing_failed, respectively.
A 404 Not Found status code will be returned, if the provided collection name or document path does not exist.
post/documents/update-document
Request body
Response
Successful Response