QamaqQamaq
POST

Datei hochladen

/knowledge

Lädt eine Datei in die Wissensdatenbank hoch. Dateien werden automatisch für Textextraktion und Vektorisierung verarbeitet.

Anfragekörper

multipart/form-dataerforderlich
{
file*:string (binary)

The file to upload

folder_id:string

Folder to upload to

description:string

File description

tags:string

Comma-separated tags

}

Code-Beispiele

curl -X POST "https://api.qamaq.io/api/v1/knowledge" \
  -H "Authorization: Bearer qmq_your_api_key"

Antworten

201File uploaded successfully

Response Body

{
id:string
name:string
status:string
message:string
}