Skip to main content
Register a website as a source and start a crawl that builds an index from its pages. The crawler stays on the site, uses its sitemap in addition to following links, respects robots.txt by default, and extracts the main content of each page (navigation and footer boilerplate are dropped). Linked PDF and DOCX files found during the crawl are parsed into the same index. Returns 202 Accepted with a jobId; poll getJobStatus until the job completes. Set refreshCadence to re-crawl on a schedule, or omit it and trigger re-crawls manually with resyncWebSource. Required fields: rootUrl, indexName Example request
Responses
Linked documents When parseDocuments is true, PDF and DOCX links discovered during the crawl are parsed into the index. Limits: 50 MB per file and at most 20 linked documents per crawl run. Oversized, unreachable, or unsupported files (e.g. .doc, .xlsx, .pptx) are skipped and the crawl still completes. Errors
  • 400 when rootUrl or indexName is missing, a limit is out of range, rootUrl is not a public website address, or modelId is not supported for website crawling.
  • 403 when the model is not enabled for your organization.
  • 409 when a build is already in progress for indexName.
  • 503 when website crawling is temporarily unavailable.