Skip to main content
POST
Create knowledge base
Create a knowledge base (a container for documents used by RAG tools). Required: name (unique per user). Optional: description (400 characters or fewer). Then upload documents and attach the knowledge base to a scenario with a type: "rag" function. See Knowledge bases.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
description
string
Maximum string length: 400

Response

Knowledge base created successfully

status
string
required
id
string<uuid>
required
redirect_url
string

Dashboard path. Ignore for API clients.