Skip to main content
POST
Save text knowledge to knowledge base

Authorizations

x-api-key
string
header
required

API Key for authentication

Body

application/json
name
string
required

Name of the knowledge base

Example:

"AI Basics"

type
string
required

Type of knowledge base (text or file)

Example:

"text"

text
string
required

Text content for text-based knowledge

Example:

"This is the text content for the knowledge base"

description
string
required

Description of the knowledge base

Example:

"Here is the description of the knowledge base"

Response

Text knowledge saved successfully