Update Document

以 Markdown 格式查看

身份验证

AuthorizationBearer

Bearer 身份验证,格式为 Bearer <token>,其中 token 是您的身份验证令牌。

路径参数

domainstring必需
document_idstring必需

请求

This endpoint expects an object.
documentstring or null可选
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 null可选
The updated textual content that should be vectorized when indexing the document. If not provided, this field will remain unchanged.
titlestring or null可选
The updated title of the document. If not provided, this field will remain unchanged.
urlstring or null可选
The updated url of the document. If not provided, this field will remain unchanged.
versionstring or null可选
The updated version of the document. If not provided, this field will remain unchanged.
productstring or null可选
The updated product of the document. If not provided, this field will remain unchanged.
keywordslist of strings or null可选
The updated keywords of the document. If not provided, this field will remain unchanged.
authedboolean or null可选
The updated authed status of the document. If not provided, this field will remain unchanged.

响应

Successful Response
documentobject
The updated document

错误

422
Unprocessable Entity Error