Skip to main content
PUT
/
knowledgebase
/
{id}
Update Name and Description of Knowledge Base
curl --request PUT \
  --url https://api.trugen.ai/v1/knowledgebase/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "name": "Revised HR Policies",
  "description": "Revised HR and Compensation policy."
}
'
{
  "id": "ff152cd9-efb6-4367-a545-b861c9fbd3d0",
  "message": "Knowledge Base updated successfully"
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string<uuid>
required

UUID of the Knowledge Base to update

Example:

"ff152cd9-efb6-4367-a545-b861c9fbd3d0"

Body

application/json
name
string
Example:

"Revised HR Policies"

description
string
Example:

"Revised HR and Compensation policy."

Response

Knowledge Base updated successfully

id
string<uuid>

UUID of the updated Knowledge Base.

Example:

"ff152cd9-efb6-4367-a545-b861c9fbd3d0"

message
string
Example:

"Knowledge Base updated successfully"