Skip to content

Download Locked File Node

Data/Files/Locked

Downloads one version of a write-once, revision-safe file into the run's cache and checks its size and SHA-256 against the record

locked_download_itemdataLong running
Inputs3
Outputs4
Security exposure3/10
Packagedata

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

SecurityAttack surface and exposure impact.
3/10Low
PrivacyPotential sensitivity of processed data.
5/10Medium
PerformanceRuntime or resource pressure.
6/10Medium
GovernancePolicy, audit, or compliance impact.
2/10Low
ReliabilityOperational stability considerations.
3/10Low
CostExternal or compute cost impact.
4/10Medium

Input Pins

3

In

Execution
exec_in

Start the request

Locked File ID

String
item_id

ID of the locked file to download

Version

Integer
version

Version number to download; 0 downloads the newest locked version

Default 0
Range 0 to 4294967295

Output Pins

4

Out

Execution
exec_out

The file was downloaded and its checksum matched

File

Struct
path

The downloaded bytes in the run's cache

FlowPathFlowPath3 fields
pathstringrequired
store_refstringrequired
cache_store_refstring | null

Locked File

Struct
file

The downloaded version with its lock details

LockedFileLockedFile34 fields
item_idstringrequired

Locked file ID, used by the other Locked File nodes.

app_idstringrequired

App the file belongs to.

scopeLockedScoperequired

Whether the file is shared by the project or private to a user.

variant 1constvariant

Shared by the whole project.

const "project"
variant 2constvariant

Private to one user.

const "user"
owner_idstring | null

Owning user for user-scoped files; null for project files.

namestringrequired

Display name, unique within its folder.

folderstringrequired

Virtual folder without leading or trailing slash; empty for the root.

pathstringrequired

Folder and name joined with "/", without a leading slash.

file_namestringrequired

File name the bytes of this version were uploaded as.

content_typestring | null

MIME type of this version.

sizeinteger:uint64required

Size of this version.

format uint64min 0
versioninteger | null

Version number starting at 1; null while pending or when the file has no version.

format uint32min 0
version_idstring | null

Version ID, used to download, extend, hold or purge this exact version.

statusanyOf (2)

Lifecycle state of this version: pending, locked or purged.

variant 1LockedVersionStatusvariant

Lifecycle state of a locked file version.

variant 1constvariant

Upload started but not committed yet.

const "pending"
variant 2constvariant

Committed and protected by its retention lock.

const "locked"
variant 3constvariant

Bytes deleted after the retention ended; the record is kept as evidence.

const "purged"
variant 2nullvariant
sha256string | null

Lowercase hex SHA-256 of the stored bytes.

checksum_verifiedbooleanrequired

Whether the storage provider or the server confirmed the SHA-256 of the stored bytes.

provider_version_idstring | null

Storage provider's version identifier (S3 VersionId, GCS generation or Azure version ID).

retention_modeanyOf (2)

Retention mode: governance or compliance.

variant 1LockedRetentionModevariant

How strictly the retention lock is enforced by the storage provider.

variant 1constvariant

Privileged storage administrators could lift the lock.

const "governance"
variant 2constvariant

Nobody, including the storage account owner, can lift the lock before it ends.

const "compliance"
variant 2nullvariant
retain_untilstring | null

Date until which the object cannot be modified or deleted (RFC 3339).

+16 more fields

Verified

Boolean
verified

True when the storage provider also confirmed the SHA-256 when the version was locked; the downloaded bytes always match the recorded SHA-256

Node Info

Internal name
locked_download_item
Category
Data/Files/Locked
Version
2