Upload file#
Uploads a local file to the Sherpa AI Server folder via multipart/form-data. This is the existing block translated to v1.
| FileName* | [Text] Required path to an existing local file. |
| FolderGuid* | [Text] Required destination folder GUID; replaces the old numeric FolderID property. |
| NewFileName | [Text] Optional server filename; if not set, the local filename is used. |
| Description | [Text] Optional file description. |
| Metadata | [Object | dictionary] Optional metadata serialized for the multipart metadata field. |
| Status | Initial status. Default lets the server assign Pending...; for supported media the server may assign ManualIndexing. |
| Timeout | [Number] Upload timeout in seconds; default value is 60. |
| ResultFileGUID | [Text] GUID of the uploaded file. |
| ResultFolderGUID | [Text] GUID of the destination folder. |
| ResultFile | Full object of the created file. |
| Processing level | Choose the error processing level. Possible values:
If "Default" is selected, the value from the "Start" block of this diagram is used. |
| Message level | Choose the level of messages output by blocks while they run. Possible values:
If "Default" is selected, the value from the "Start" block of this diagram is used. |
| Error text | [Text] Returns detailed error information if the block execution fails. |