Skip to main content
POST
cURL
Knowledge bases can be created in three ways, matching the tabs in the application:
Add question/answer pairs manually or upload a CSV with Questions and Answers columns, then call POST /knowledgeBase/create (this endpoint).
Embeddings are built in the background after creation. Poll GET /knowledgeBase/build-status until the build is ready.

Authorizations

x-api-key
string
header
required

Body

application/json

Knowledge base to create (FAQ Mode)

title
string
required

The title of the knowledge base

language
string
required

Language code (e.g. en)

data
object[]
required

The question/answer pairs of the knowledge base

Response

Knowledge base created; embedding is building in the background

success
boolean

Whether the request succeeded

message
string

Response message