知识库

更新知识库的名称、描述和配置

put/knowledge-bases/{id}

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

Path parameters

idstring required

知识库ID

Request body

descriptionstring
namestring required

Response

更新后的知识库

successboolean

Example response

{
  "success": true
}

Changes