知识管理

取消知识解析

Changed on

取消进行中的知识解析任务。当前已写入的 chunk / 索引保留,可通过 reparse 接口重新触发解析。已完成 / 已失败 / 删除中的知识不支持取消。

post/knowledge/{id}/cancel-parse

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/{id}/cancel-parse
  • Auth
    • API key in header Authorization
    • or API key in header X-API-Key

Path parameters

idstring required

知识ID

Response

取消已提交

messagestring
successboolean

Example response

{
  "success": true
}

Changes