Train Website
API Reference
Train Website
Crawl websites, process the content, and use it to train the specified RAG system.
POST
Train Website
Authorizations
Query Parameters
The ID of the RAG system to train (must be a 24-character hex string).
Example:
"654c602a46c3b6d4e28741b0"
Body
application/json
List of website URLs to crawl
Example:
["string"]Data source identifier
Example:
"website"
Maximum number of pages to crawl
Example:
1
Maximum crawl depth
Example:
0
Time to wait for dynamic content to load (in seconds)
Example:
5
Apify actor used for crawling
Example:
"apify/website-content-crawler"
Type of crawler used
Example:
"cheerio"
Size of the chunks for text splitting
Example:
1000
Overlap between consecutive text chunks
Example:
100
Response
Website successfully crawled, processed, and RAG system trained.
Placeholder for a success message or job ID.