knowledge-bases

Update a knowledge base

patch/knowledge-bases/{id}

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

idstring uuid required

The UUID of the knowledge base to update

Request body

namestring

The name of the knowledge base

descriptionstring

The description of the knowledge base

Example request

{
  "name": "Stadtratsprotokolle 2025",
  "description": "Sammlung aller Stadtratsprotokolle aus dem Jahr 2025"
}

Response

The knowledge base has been successfully updated

idstring uuid required

The unique identifier of the knowledge base

ownerType'personal' | 'workspace' required
workspaceIdstring uuid

The owning workspace for workspace-owned knowledge bases

namestring required

The name of the knowledge base

descriptionstring required

The description of the knowledge base

createdAtstring date-time required

The date and time when the knowledge base was created

updatedAtstring date-time required

The date and time when the knowledge base was last updated

documentCountnumber required

Number of documents assigned to the knowledge base

isActiveboolean required

Whether the knowledge base is active for the current user

isSharedboolean

Whether the knowledge base is shared with the current user (not owned). Only present when relevant (e.g., listing user knowledge bases).

Example response

{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "Stadtratsprotokolle 2025",
  "description": "Sammlung aller Stadtratsprotokolle aus dem Jahr 2025",
  "createdAt": "2025-01-15T10:00:00.000Z",
  "updatedAt": "2025-01-15T10:00:00.000Z",
  "documentCount": 3,
  "isActive": true
}

Changes