Start crawling and discover pages for training
Starts a website crawl that discovers pages for later AI training. WHEN TO USE: use this when you need to scan a site before training; use trainDiscoveredUrls to ingest selected pages; use getCrawlingStatusForLatestOperation to poll progress. RETURNS: the discovery operation id, current status, and the URL being crawled.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
knowledge-bases. writeOAuthPrivate IntegrationSub-Account TokenRequest
Headers
API Version
v3v3Body
Location ID as string
tDtDnQdgm2LXpyiqYvZ6Website URL as string
https://kubernetes.io/tDtDnQdgm2LXpyiqYvZ6Mode as string
ExactPathDomainExactknowledge base ID as string
tDtDnQdgm2LXpyiqYvZ6Pre-selected URLs from sitemap preview — when provided, only these URLs are crawled
["https://example.com/page-1","https://example.com/page-2"]Automatically train the discovered URLs after crawling
falseResponse
Crawling and discovery started successfully
Operation ID for tracking the discovery process
op_abc123xyzCurrent status of the website discovery operation
PendingProcessingSuccessfulFailedExistingRestrictedCancelledAbortedTrainingProcessingThe URL being discovered/crawled
https://example.com