Complete reference for DataFlow backend routes
Endpoint URL
/api/upload-fileApplication-level limits vary by deployment
{
"file": "(binary form field)",
"fileType": "csv",
"userId": "user123"
}{
"success": true,
"data": {
"headers": [
"Category",
"Sales",
"Region"
],
"rawData": [
{
"Category": "Electronics",
"Sales": "5000",
"Region": "North"
},
{
"Category": "Furniture",
"Sales": "3200",
"Region": "South"
}
],
"storagePath": "uploads/user123/sales_data.csv",
"rowCount": 2,
"columnCount": 3
}
}Allowed Origins: APP_PUBLIC_URL or NEXTAUTH_URL
Allowed Methods: POST, OPTIONS
Credentials: Allowed