curl --request POST \
--url https://api.getfernand.com/organization/rag/sources/files \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"files": [
{
"name": "documentation.pdf",
"type": "application/pdf",
"content": "JVBERi0xLjQKJeLjz9MK..."
}
]
}
'{}curl --request POST \
--url https://api.getfernand.com/organization/rag/sources/files \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"files": [
{
"name": "documentation.pdf",
"type": "application/pdf",
"content": "JVBERi0xLjQKJeLjz9MK..."
}
]
}
'{}Uploads one or more files to the AI store. Supports PDF, DOC, DOCX, and TXT formats. Files must be base64 encoded and cannot exceed the organization’s vector store size limit. All files are processed asynchronously.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 files to upload (max 10MB per file).
Show child attributes
Files queued for processing.
The response is of type object.
Was this page helpful?