Skip to main content
POST
/
organization
/
rag
/
sources
/
texts
Add text to the AI Store
curl --request POST \
  --url https://api.getfernand.com/organization/rag/sources/texts \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "text": "This is important information about our product features..."
}
'
{}
Adds plain text content to the vector store. Useful for adding custom documentation, notes, or any text-based information. Content is limited to 50,000 characters.

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
text
string
required

Text content to add to the knowledge base.

Maximum string length: 50000
Example:

"This is important information about our product features..."

Response

Text source queued for processing.

The response is of type object.