PAI Chat·Endpoint
POST
/chatbot/{chatbotId}/web/crawlCrawl a website starting from a URL. BFS through same-host pages, excluding matc
Crawl a website starting from a URL. BFS through same-host pages, excluding matched patterns.
DELETE/chatbot/{chatbotId}/web/crawl/{requestId}arrow_forwardtune
Parameters
chatbotIdrequiredpath
string (uuid)The ID of the chatbot
upload
Request body
urlrequired
string (uri)Starting URL to crawl from
excludePatterns
arrayRegex patterns for URL paths to exclude. Defaults applied if omitted.
includePatterns
arrayRegex patterns for URL paths to include. If set, a URL must match at least one to be crawled. Exclude patterns still take precedence.
double_arrow
Returns 200
requestrequired
objectidrequired
string (uuid)chatbotIdrequired
string (uuid)startUrlrequired
stringexcludePatterns
nullarrayincludePatterns
nullarraystatusrequired
stringpagesFound
nullnumberpdfsFound
nullnumbererror
nullstringcreatedAtrequired
string (date-time)completedAt
null,string (date-time)lastCrawledAt
null,string (date-time)report
Errors