cURL
curl --request POST \ --url https://demo.enneo.ai/api/mind/files/manager/file \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "path": "Audiodateien", "name": "music.mp3", "url": "https://example.com/file.mp3", "base64": "data:image/png;base64,iVBORw0KGgo..." } '
{ "success": true, "file": { "name": "<string>", "path": "<string>", "url": "<string>", "size": 123, "contentType": "<string>" } }
JWT-based authentication
Target directory path
"Audiodateien"
File name
"music.mp3"
URL to download the file from
"https://example.com/file.mp3"
Base64-encoded file content (with or without data URI prefix)
"data:image/png;base64,iVBORw0KGgo..."
File uploaded successfully
Anzeigen untergeordnete attribute