Update Knowledge Base Document

Update a document. Currently supports moving the document between folders via folder_id.

Authentication

AuthorizationBearer

Enter your API key with the Bearer prefix, e.g. ‘Bearer sk_…’.

Path parameters

idstringRequired
docIdstringRequired

Request

This endpoint expects an object.
folder_idstring or nullOptional

Destination folder. Prefixed wire identifier (kfolder_<26 char Crockford base32>); null moves the document to the knowledge base root.

Response

Document updated.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error