curl --request POST \
--url https://api.getfernand.com/organization/rag/sources/questions \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data @- <<EOF
{
"questions": [
"How do I reset my password?",
"What's the process for password recovery?"
],
"answer": "To reset your password, click on the \"Forgot Password\" link on the login page..."
}
EOF{}curl --request POST \
--url https://api.getfernand.com/organization/rag/sources/questions \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data @- <<EOF
{
"questions": [
"How do I reset my password?",
"What's the process for password recovery?"
],
"answer": "To reset your password, click on the \"Forgot Password\" link on the login page..."
}
EOF{}Creates a new question-answer pair in the AI store. Multiple question variations can be provided for the same answer to improve matching. The content is formatted and stored for AI retrieval.Documentation Index
Fetch the complete documentation index at: https://developers.getfernand.com/llms.txt
Use this file to discover all available pages before exploring further.
Array of question variations (max 250 chars each).
250[
"How do I reset my password?",
"What's the process for password recovery?"
]Answer to the questions.
5000"To reset your password, click on the \"Forgot Password\" link on the login page..."
Q&A source queued for processing.
The response is of type object.
Was this page helpful?