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..."
}
]
}
'{}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?