POST
Add URL Source
Adds a web page as a source by crawling and indexing its content.
POST
https://api.vantaxai.com/v1/knowledge-bases/{knowledgebase_id}/sources/urlThe page at the supplied `url` is fetched, cleaned, chunked, and embedded. The source begins in the `processing` state while the crawl runs 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
urlstringrequiredThe fully-qualified URL to crawl.
example: https://example.com/pricing
titlestringoptionalOptional label. Defaults to the page title.