Skip to main content
PUT
/
api
/
v1
/
knowledge
/
bases
/
{kb_uuid}
Update Knowledge Base Info
curl --request PUT \
  --url http://localhost:5300/api/v1/knowledge/bases/{kb_uuid} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "name": "<string>",
  "description": "<string>"
}
'
{
  "code": 0,
  "msg": "ok",
  "data": {}
}

Authorizations

X-API-Key
string
header
required

API Key authentication using X-API-Key header. Example: X-API-Key: lbk_your_api_key_here

Path Parameters

kb_uuid
string
required

Knowledge Base UUID

Body

application/json
name
string
description
string

Response

200 - application/json

Update successful

code
integer
Example:

0

msg
string
Example:

"ok"

data
object