知识

移动知识到其他知识库

Changed on

将一条或多条知识从源知识库移动到目标知识库(异步),返回任务 ID 用于查询进度

post/knowledge/move

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/knowledge/move
  • Auth
    • API key in header Authorization
    • or API key in header X-API-Key

Request body

knowledge_idsstring[] required

Documents to move.

mode'reuse_vectors' | 'reparse' required

reuse_vectors keeps the embeddings; reparse processes the documents again.

source_kb_idstring required

Knowledge base the documents are in now.

target_kb_idstring required

Knowledge base to move them to.

Response

任务信息

successboolean

Example response

{
  "success": true
}

Changes