Trillet AI logo

Update Knowledge Base

Update the name or description of an existing knowledge base.

PUThttps://api.trillet.ai/v1/api/knowledgebase/{id}

Headers

x-api-keystringrequired

API key used for authenticating requests to the API.

x-workspace-idstringrequired

Workspace identifier for the API.

Path Parameters

idstringrequired

The unique identifier of the knowledge base to update.

Request Body

namestring

Updated name for the knowledge base.

descriptionstring

Updated description for the knowledge base.

Response Fields

_idstring

Unique identifier for the knowledge base.

namestring

Updated name of the knowledge base.

descriptionstring

Updated description of the knowledge base.

{
  "_id": "665a1b2c3d4e5f6a7b8c9d0e",
  "name": "Updated Product Docs",
  "description": "Updated documentation and FAQs",
  "workspaceId": "664a1b2c3d4e5f6a7b8c9d0e",
  "updatedAt": "2024-06-02T09:00:00.000Z"
}