Crawl Website
Knowledge Base
Crawl Website
Scrapes a website to discover and crawl its pages for the knowledge base. Use this endpoint to add website content as a knowledge source for agents. Configuration: Supports options for URL filter
POST
Crawl Website
For the complete error reference, see Error Guide.Documentation Index
Fetch the complete documentation index at: https://cometchat-22654f5b-react-uikit-v7.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API Key (i.e. Rest API Key from the Dashboard).
Body
application/json
Website crawling configuration
Target website URL to crawl
Example:
"https://docs.example.com"
Maximum depth to crawl from the starting URL
Required range:
1 <= x <= 10Example:
5
Maximum number of pages to crawl
Required range:
1 <= x <= 10000Example:
500
URL patterns to include in crawling (substring matching)
Example:
["docs/", "api/", "guides/"]URL patterns to exclude from crawling (substring matching)
Example:
["login", "signup", "admin", "privacy"]Fetch and return sitemap URLs from the website
Example:
true