cURL
curl --request POST \ --url https://rag-prod.studio.lyzr.ai/v4/knowledge_graph/neo4j/website/ \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "urls": [ "https://example.com" ], "source": "website", "max_crawl_pages": 1, "max_crawl_depth": 0, "dynamic_content_wait_secs": 5, "actor": "apify/website-content-crawler", "crawler_type": "cheerio" }'
{ "message": "Website training complete", "rag_id": "6848ff3c4c291b4bef798e0c", "pages_trained": 12 }
Crawl websites and generate a knowledge graph using Neo4J based on the provided URLs and crawl settings.
The ID of the RAG system to train
Website successfully crawled and knowledge graph trained
The response is of type object.
object