/datastores/{id}/documents
Update Document Metadata
Changed onPost details of a given document that will enrich the chunk and be added to the context or just for filtering. If Just for filtering, start with "_" in the key.
put/datastores/{datastore_id}/documents/{document_id}/metadata
Request
- Base URLhttps://api.contextual.ai/v1
- URLhttps://api.contextual.ai/v1/datastores/{datastore_id}/documents/{document_id}/metadata
- AuthHTTP bearer
Path parameters
datastore_idstring uuid required
Datastore ID of the datastore from which to retrieve the document
document_idstring uuid required
Document ID of the document to retrieve details for
Request body
Response
Successful Response
Changes
- breaking
the
response's property type changed fromobjectto no type for status
- breaking
- info
endpoint added
- info