Skip to main content
POST
cURL
Each URL in urls is scraped, chunked and embedded directly.
  • title is optional and defaults to Website KB.
  • To discover URLs from a sitemap first, call POST /knowledgeBase/list-sitemap and let the user select pages.
  • Embeddings are built in the background; poll GET /knowledgeBase/build-status until the build is ready.

Authorizations

x-api-key
string
header
required

Body

application/json

Website URLs to scrape and embed (Website Scrape)

urls
string[]
required

The website page URLs to scrape, chunk and embed

title
string

Optional title, defaults to Website KB

language
string

Optional language code (e.g. en)

Response

URLs scraped; embedding is building in the background

success
boolean

Whether the request succeeded

message
string

Response message