Update Document

Path parameters

domainstringRequired
document_idstringRequired

Request

This endpoint expects an object.
documentstring or nullOptional
The updated content of the document that will be returned to Ask Fern during document retrieval. If not provided, this field will remain unchanged.
chunkstring or nullOptional
The updated textual content that should be vectorized when indexing the document. If not provided, this field will remain unchanged.
titlestring or nullOptional
The updated title of the document. If not provided, this field will remain unchanged.
urlstring or nullOptional
The updated url of the document. If not provided, this field will remain unchanged.
versionstring or nullOptional
The updated version of the document. If not provided, this field will remain unchanged.
productstring or nullOptional
The updated product of the document. If not provided, this field will remain unchanged.
keywordslist of strings or nullOptional
The updated keywords of the document. If not provided, this field will remain unchanged.
authedboolean or nullOptional
The updated authed status of the document. If not provided, this field will remain unchanged.

Response

Successful Response
documentobject
The updated document

Errors