Skip to content

Get Locked File Node

Data/Files/Locked

Looks up a write-once, revision-safe file by its ID, or by scope, folder and name, with every version and its lock details

locked_get_itemdata
Inputs5
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.
5/10Medium
GovernancePolicy, audit, or compliance impact.
2/10Low
ReliabilityOperational stability considerations.
3/10Low
CostExternal or compute cost impact.
4/10Medium

Input Pins

5

In

Execution
exec_in

Start the request

Locked File ID

String
item_id

ID of the locked file; leave empty to look it up by scope, folder and name

Scope

String
scope

project: shared with everyone in the project; user: private to the user running the flow

Default project
projectuser

Folder

String
folder

Folder of the file when looking it up by name; empty for the root

Name

String
name

Name of the file when looking it up without an ID

Output Pins

4

Out

Execution
exec_out

The lookup finished, whether or not the file exists

Locked File

Struct
file

The file with its newest locked version

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

Versions

Struct Array
versions

Every version of the file, newest first, including purged ones

LockedItemVersionLockedItemVersion23 fields
idstringrequired

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

item_idstringrequired

ID of the locked file this version belongs to.

versioninteger | null

Version number starting at 1, assigned at commit; null while pending.

format uint32min 0
statusLockedVersionStatusrequired

Lifecycle state: pending, locked or purged.

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"
file_namestringrequired

File name the bytes were uploaded as.

content_typestringrequired

MIME type of the stored bytes.

sizeinteger:uint64required

Size of the stored bytes.

format uint64min 0
sha256stringrequired

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_modeLockedRetentionModerequired

Retention mode: governance or compliance.

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"
retain_untilstringrequired

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

enforcementLockedEnforcementrequired

Whether the lock is set on the object or by a bucket-wide policy.

variant 1constvariant

A retention lock set on the stored object version itself.

const "object"
variant 2constvariant

A retention policy of the whole bucket or container.

const "bucket"
legal_holdbooleanrequired

Whether a legal hold blocks deletion regardless of the retention date.

delete_after_retentionboolean

Whether the server deletes the bytes automatically once the retention ends and no legal hold remains.

default false
commentstring | null

Comment given at upload.

metadataobject | null

Metadata given at upload.

uploaded_bystringrequired

User ID of the uploader.

+5 more fields

Found

Boolean
found

Whether the file exists and is visible to this run

Node Info

Internal name
locked_get_item
Category
Data/Files/Locked
Version
2