Skip to main content

downloadEntry

Downloads entry files from data-cluster storage by calling the data-cluster GET /entries/{id}/download endpoint. Supports up to 10 concurrent downloads.

Parameters

ParamTypeRequiredDescription
entry_idintegerYesEntry ID to download. Must be greater than 0
dataset_idintegerYesDataset ID used to route to the correct cluster. Must be greater than 0
filenamestring?NoOptional filename override. When omitted, the node uses the original file stored for the entry

Output

FieldTypeDescription
entry_idintegerThe entry ID that was downloaded
file_bytesbytes?Raw bytes of the downloaded file
content_typestringMIME type of the file
filenamestringFilename of the downloaded file
file_size_bytesintegerSize of the downloaded file in bytes
download_time_msfloatWall-clock time for the download in milliseconds

Example

{
"id": "downloadEntry",
"type": "downloadEntry",
"data": {
"label": "Download Entry",
"isExecuted": false,
"handles": ["inputs", "outputs"],
"schema": {},
"params": {
"entry_id": { "value": "{{ @fetchEntries.id }}", "isExpression": true, "isAttachedToInputNode": false },
"dataset_id": { "value": 42, "isExpression": false, "isAttachedToInputNode": false }
},
"inputs": [], "outputs": [], "errors": []
},
"position": { "x": 300, "y": 0 },
"isSelected": false,
"isDragging": false
}