Upload multiple files

POST {{baseUrl}}/files?projectId={{projectId}}&isAsync=true&isTraining=false&uploadUser=smartdocs@bglcorp.com.au

Upload multiple training files.

Request Params

KeyDatatypeRequiredDescription
projectIdstring
isAsyncboolean
isTrainingboolean
uploadUserstring
uploadSourcenull
thirdPartyGroup1null
thirdPartyGroup2null
thirdPartyIdnull
labelIdsnull
labelNamesnull

Request Body

[{"name"=>"user_file", "value"=>nil, "datatype"=>"null"}]

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"workflows":[{"id":"24aef7a4-3e4f-444e-9e4f-942396457f89","status":"FILE_RECEIVED","expires":1707178202,"fileKey":"2024/02/05/sample 1_24aef7a4-3e4f-444e-9e4f-942396457f89","fileId":"2024-02-05T00:10:01.400Z_24aef7a4-3e4f-444e-9e4f-942396457f89"},{"id":"86b13405-62be-4bc5-8afb-27a8a608ee7d","status":"FILE_RECEIVED","expires":1707178202,"fileKey":"2024/02/05/sample 2_86b13405-62be-4bc5-8afb-27a8a608ee7d","fileId":"2024-02-05T00:10:01.398Z_86b13405-62be-4bc5-8afb-27a8a608ee7d"},{"id":"72b6aec8-4e83-4f8f-b1c1-881c1e87bfde","status":"FILE_RECEIVED","expires":1707178202,"fileKey":"2024/02/05/sample 3_72b6aec8-4e83-4f8f-b1c1-881c1e87bfde","fileId":"2024-02-05T00:10:01.402Z_72b6aec8-4e83-4f8f-b1c1-881c1e87bfde"}],"rejectedFileList":{"filesNotSupported":["sample - unsupported file.csv"],"filesOverMaxSize":[],"filesLoadTest":[]}}