Skip to main content
POST
Create Knowledge Base

Authorizations

string
required
Your Agni API key used to authenticate the request. Pass it in the X-Api-Key header. Find or rotate it from your Ravan AI account settings.

Body

string
required
The display name for the knowledge base. Use a clear name that describes the source content.
boolean
Whether the knowledge base should automatically refresh supported sources after creation.

Response

boolean
Whether the request succeeded.
string
Human-readable status message.
object
Returned data.

Authorizations

X-Api-Key
string
header
required

Body

application/json
knowledge_base_name
string
required

Name for the knowledge base

enable_auto_refresh
boolean

Enable automatic refresh of sources

Response

201 - application/json

Created

success
boolean
message
string
data
object