Upload Temporary File
POST/api/v1/workspaces/:workspace_name/temporary_files
Uploads a file into the workspace. You can also use this endpoint to create a text file. To do that, enter the file name and text as its contents.
Request
Responses
- 201
- 400
- 413
- 415
- 422
Your file's in the workspace.
We couldn't upload your file because some of the arguments specified were incompatible. You can upload a file from your disk or create a file by providing a file name and text as its contents.
Too large payload.Either the file uploaded is larger than 200 MB or the metadata you tried to upload is too large. The string '
deepset AI Platform supports .txt, .csv, .json, .xml, .html, .md, .pdf, .docx, .pptx, .xlsx, .xlsb, .xlsm, .msg, .zip and ..DS_Store files. Upload a file in the supported format.
Validation Error
Was this page helpful?