POST
Create Knowledge Base
Creates a new, empty knowledge base in the specified sub-account.
POST
https://api.vantaxai.com/v1/knowledge-basesAfter creating a knowledge base, add content to it by attaching sources (text, FAQ, URL, or file). Attach the knowledge base to an Agent so it can reference that content during calls and conversations.
Headers
AuthorizationstringrequiredBearer authentication with your secret API key.
example: Bearer vx_live_3fa9c2…
Content-TypestringrequiredMust be application/json for requests with a body.
example: application/json
Body Parameters
namestringrequiredDisplay name of the knowledge base.
example: Clinic FAQ
sub_account_idstringrequiredSub-account that will own the knowledge base.
example: sub_8a1f4c2e
descriptionstringoptionalInternal description of what the knowledge base covers.