Trillet AI logo

Add Text to Knowledge Base

Add plain text content to an existing knowledge base.

POSThttps://api.trillet.ai/v1/api/knowledgebase/{id}/text

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.

Request Body

textstringrequired

The plain text content to add to the knowledge base.

namestring

Optional name for the text entry.

Response Fields

successboolean

Whether the text was added successfully.

{
  "success": true
}
Add Text to Knowledge Base — Trillet AI