Skip to main content
POST
Create Knowledge Base

Authorizations

x-api-key
string
header
required

Body

multipart/form-data
name
string
required

Human readable name of the knowledge base.

Example:

"HR Policy"

description
string
required

Description of the knowledge base.

Example:

"This knowledge base contains HR and compensation related information."

input
file

Document file to upload (.pdf, .docx or .txt). Optional if text is provided.

text
string

As of 2025; we have increased the personal leaves to 15 per year.

Example:

"As of 2025; we have increased the personal leaves to 15 per year."

Response

Knowledge Base created successfully

id
string<uuid>

UUID of the newly created Knowledge Base

Example:

"5273e435-3cbb-4a11-9ea9-2c150ba19009"

message
string
Example:

"Knowledge Base created successfully"