Skip to main content
POST
/
organization
/
rag
/
sources
/
urls
Add URL source to your AI Data
curl --request POST \
  --url https://api.getfernand.com/organization/rag/sources/urls \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "url": "https://docs.piedpiper.com/getting-started",
  "crawl": false
}
'
{}
Adds a web page to the vector store. Can optionally crawl the entire website starting from the provided URL. The content is fetched and processed asynchronously.

Authorizations

X-API-Key
string
header
required

Authenticate your account by including your secret key in API requests. You can manage your API keys in the Dashboard.

Authentication to the API is performed by using the HTTP Header X-API-Key.

Body

application/json
url
string<uri>
required

URL to add to the knowledge base (must start with http/https).

Maximum string length: 250
Example:

"https://docs.piedpiper.com/getting-started"

crawl
boolean
required

Whether to crawl the entire website from this URL.

Example:

false

Response

URL source queued for processing.

The response is of type object.