Update Document
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
domain
document_id
Headers
x-fern-basepath
The basepath of the docs site that the document belongs to, e.g. /plants for a site served at docs.example.com/plants. Omit this for sites served at the root of the domain. Documents are only retrieved by Ask Fern on the site matching the domain and basepath they were created with.
Request
This endpoint expects an object.
document
The updated content of the document that will be returned to Ask Fern during document retrieval. If not provided, this field will remain unchanged.
chunk
The updated textual content that should be vectorized when indexing the document. If not provided, this field will remain unchanged.
title
The updated title of the document. If not provided, this field will remain unchanged.
url
The updated url of the document. If not provided, this field will remain unchanged.
version
The updated version of the document. If not provided, this field will remain unchanged.
product
The updated product of the document. If not provided, this field will remain unchanged.
keywords
The updated keywords of the document. If not provided, this field will remain unchanged.
authed
The updated authed status of the document. If not provided, this field will remain unchanged.
Response
Successful Response
document
The updated document
Errors
422
Unprocessable Entity Error