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
| Param | Type | Required | Description |
|---|---|---|---|
entry_id | integer | Yes | Entry ID to download. Must be greater than 0 |
dataset_id | integer | Yes | Dataset ID used to route to the correct cluster. Must be greater than 0 |
filename | string? | No | Optional filename override. When omitted, the node uses the original file stored for the entry |
Output
| Field | Type | Description |
|---|---|---|
entry_id | integer | The entry ID that was downloaded |
file_bytes | bytes? | Raw bytes of the downloaded file |
content_type | string | MIME type of the file |
filename | string | Filename of the downloaded file |
file_size_bytes | integer | Size of the downloaded file in bytes |
download_time_ms | float | Wall-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
}