POST
Add Text Source
Adds a free-text source to a knowledge base.
POST
https://api.vantaxai.com/v1/knowledge-bases/{knowledgebase_id}/sources/textUse a text source for unstructured content like policies, descriptions, or notes. The text is chunked and embedded automatically; the source begins in the `processing` state and becomes `ready` once indexing completes.
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
Path Parameters
knowledgebase_idstringrequiredThe knowledge base to add the source to.
example: kb_71ac0
Body Parameters
titlestringrequiredA label for the source.
example: Cancellation Policy
contentstringrequiredThe raw text content to index.