Skip to main content
POST
Create knowledgebase
This endpoint creates a new knowledgebase. After creation, you can add documents to it using the create document endpoint.

Request Body

string
required
The name of the knowledgebase (max 255 characters)
string
Optional description of the knowledgebase (max 255 characters)

Response

string
Success message
object
The created knowledgebase object

Next Steps

After creating a knowledgebase, you’ll want to:
  1. Add documents - Use the create document endpoint to add content
  2. Wait for processing - Documents are processed asynchronously
  3. Attach to assistant - Use the update assistant endpoint to attach the knowledgebase