Skip to main content
PATCH
/
organization
/
rag
/
sources
/
questions
/
{uuid}
Update Q&A source
curl --request PATCH \
  --url https://api.getfernand.com/organization/rag/sources/questions/{uuid} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "questions": [
    "How do I reset my password?"
  ],
  "answer": "To reset your password..."
}
'
{}
Updates an existing Q&A source identified by its UUID. Only sources of type “Question” can be updated through this endpoint.

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 Q&A source to update.

Body

application/json
questions
string[]
required
Maximum string length: 250
Example:
["How do I reset my password?"]
answer
string
required
Maximum string length: 5000
Example:

"To reset your password..."

Response

Q&A source queued for update.

The response is of type object.