Skip to main content
PUT
https://app.autocalls.ai/api/
/
user
/
knowledgebases
/
{id}
Update knowledgebase
curl --request PUT \
  --url https://app.autocalls.ai/api/user/knowledgebases/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>"
}
'
{
  "message": "Knowledgebase updated successfully.",
  "data": {
    "id": 1,
    "name": "Updated Product Documentation",
    "description": "Updated description for our technical docs",
    "status": "active",
    "status_label": "Active",
    "updated_at": "2025-01-08T15:45:00.000000Z"
  }
}
This endpoint updates the name and/or description of an existing knowledgebase.

Path Parameters

id
integer
required
The unique identifier of the knowledgebase to update

Request Body

name
string
The new name for the knowledgebase (max 255 characters)
description
string
The new description for the knowledgebase (max 255 characters)

Response

message
string
Success message
data
object
The updated knowledgebase object
{
  "message": "Knowledgebase updated successfully.",
  "data": {
    "id": 1,
    "name": "Updated Product Documentation",
    "description": "Updated description for our technical docs",
    "status": "active",
    "status_label": "Active",
    "updated_at": "2025-01-08T15:45:00.000000Z"
  }
}
Updating a knowledgebase’s name or description does not affect its documents or processing status.