curl -X POST https://api.ravan.ai/api/v1/rag/discover \ -H "X-Api-Key: YOUR_API_KEY" -H "Content-Type: application/json" \ -d '{"url": "https://docs.example.com", "max_depth": 3, "limit": 50}'
{ "success": true, "message": "Discovery completed", "data": { "urls": [ "https://docs.example.com/", "https://docs.example.com/getting-started", "https://docs.example.com/api-reference", "https://docs.example.com/pricing" ], "total": 4 } }
Crawl a website and discover all available URLs before ingesting them. Use this to preview what pages will be indexed.
5
100
Successful response