Skip to main content
POST
/
organization
/
rag
/
sources
/
{uuid}
/
retrain
Retrain a single URL source
curl --request POST \
  --url https://api.getfernand.com/organization/rag/sources/{uuid}/retrain \
  --header 'X-API-Key: <api-key>'
{}
Refreshes a URL source by re-fetching its content from the web. Only works for URL sources and prevents retraining if the source was updated in the last 5 minutes.

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.

Path Parameters

uuid
string
required

UUID of the URL source to retrain.

Response

Source queued for retraining.

The response is of type object.