Skip to main content
POST
Train Neo4J Website

Authorizations

x-api-key
string
header
required

Query Parameters

rag_id
string
required

The ID of the RAG system to train

Body

application/json
urls
string[]
required

List of website URLs to crawl

Example:
source
string
required

Data source identifier

Example:

"website"

max_crawl_pages
integer
required

Maximum number of pages to crawl

Example:

1

max_crawl_depth
integer
required

Maximum crawl depth

Example:

0

dynamic_content_wait_secs
integer
required

Time to wait for dynamic content to load (in seconds)

Example:

5

actor
string
required

Apify actor used for crawling

Example:

"apify/website-content-crawler"

crawler_type
string
required

Type of crawler used

Example:

"cheerio"

Response

Website successfully crawled and knowledge graph trained

message
string
Example:

"Website training complete"

rag_id
string
Example:

"6848ff3c4c291b4bef798e0c"

pages_trained
integer
Example:

12