Skip to main content
POST
/
api
/
v1
/
rag
/
discover
Discover URLs
curl --request POST \
  --url https://api.ravan.ai/api/v1/rag/discover \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "url": "<string>",
  "max_depth": 123,
  "limit": 123
}
'
{
  "success": true,
  "message": "<string>",
  "data": {
    "urls": [
      "<string>"
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.ravan.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-Api-Key
string
required
Your Agni API key. Find it in your RavanAi.

Body

url
string
required
Root URL to discover from
max_depth
integer
Max crawl depth
limit
integer
Max URLs to return

Response

success
boolean
Whether the request succeeded.
message
string
Human-readable status message.
data
object
Returned data.

Authorizations

X-Api-Key
string
header
required

Body

application/json
url
string
required

Root URL to discover from

max_depth
integer

Max crawl depth

limit
integer

Max URLs to return

Response

200 - application/json

Successful response

success
boolean
message
string
data
object