Overview
Update an existing Knowledge Base by modifying its name, description, or uploading additional documents. Existing documents remain unchanged unless explicitly deleted using the Delete Document endpoint.Prerequisites
- Bearer token for an authenticated workspace
- Valid Knowledge Base ID
multipart/form-datarequest
Request
string
required
Bearer token for authenticated workspace access.
string
required
Unique identifier of the Knowledge Base.
string
Updated name of the Knowledge Base.
string
Updated description of the Knowledge Base.
file[]
One or more new documents to upload. Existing documents are preserved.
Response
Request Fields
Response Fields
boolean
Indicates whether the update was successful.
integer
HTTP status code.
string
Response message.
string
Unique identifier of the Knowledge Base.
string
Updated Knowledge Base name.
string
Updated Knowledge Base description.
array
Complete list of documents currently stored in the Knowledge Base.
string
Timestamp of the latest update.
Error Handling
Updating a Knowledge Base does not remove existing documents. To remove a document, use the Delete Knowledge Base Document endpoint.
Related endpoints:
GET /api/knowledgeBase— List all Knowledge Bases.GET /api/knowledgeBase/{knowledgeBaseId}— Retrieve Knowledge Base details.GET /api/knowledgeBase/{knowledgeBaseId}/documents— View uploaded documents.DELETE /api/knowledgeBase/{knowledgeBaseId}/documents/{fileName}— Delete a specific document.DELETE /api/knowledgeBase/{knowledgeBaseId}— Delete the entire Knowledge Base.

