POST
Upload file
/knowledgeUploads a file to the knowledge base. Files are automatically processed for text extraction and vectorization.
Request Body
multipart/form-datarequired
{
file*:string (binary)The file to upload
folder_id:stringFolder to upload to
description:stringFile description
tags:stringComma-separated tags
}
Code Examples
curl -X POST "https://api.qamaq.io/api/v1/knowledge" \
-H "Authorization: Bearer qmq_your_api_key"Responses
201File uploaded successfully
Response Body
{
id:stringname:stringstatus:stringmessage:string}