v84

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-0985248447.1 KB
Knowledge bases

Update Document

Overwrite a knowledge base document using JSON text or multipart file upload.

put/v1/knowledge-bases/{knowledge_base_id}/documents

Path parameters

knowledge_base_idstring uuid required

Unique knowledge base ID.

Unique knowledge base ID.

Query parameters

organization_idstring uuid nullable

Organization scope for API keys that can access multiple organizations.

Organization scope for API keys that can access multiple organizations.

Request body

namestring required

Document name or path to update.

textstring required

Replacement text content for the document.

folderstring nullable

Folder path containing the document.

Response

Successful Response

messagestring required

Operation result message.

namestring required

Document name.

pathstring required

Document path.

folderstring nullable

Document folder path.