v50

latestSwagger 2.0raw.githubusercontent.com2026-08-07307239824.1 KB
知识管理

移动知识到文件夹

批量修改知识条目所属文件夹。文件夹由路径推导而来,因此目标路径不存在时会自动创建;空路径表示知识库顶层。仅调整归类,不会重新解析文档

post/knowledge/folder

Request body

folder_pathstring

FolderPath is the destination folder; the empty string is the knowledge base top level. It is deliberately not binding:"required" so documents can be moved back out of every folder.

kb_idstring required
knowledge_idsstring[] required

Response

移动成功

object required