Skip to content

Get File Metadata Node

Data/Files/Operations

Reports a file's name, size, timestamps, media type and kind, plus what its format says about it: dimensions for images, pages and document properties for PDFs and Office files. Type detection and image headers use ranged reads of the first bytes only; PDFs and Office files are read whole.

file_get_metadatamedia
Inputs2
Outputs9
Security exposure8/10
Packagemedia

Ratings

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

SecurityAttack surface and exposure impact.
8/10High
PrivacyPotential sensitivity of processed data.
8/10High
PerformanceRuntime or resource pressure.
8/10High
GovernancePolicy, audit, or compliance impact.
9/10High
ReliabilityOperational stability considerations.
8/10High
CostExternal or compute cost impact.
10/10High

Input Pins

2

Input

Execution
exec_in

Initiate Execution

Path

Struct
path

File to inspect

FlowPathFlowPath3 fields
pathstringrequired
store_refstringrequired
cache_store_refstring | null
Schema enforced

Output Pins

9

Output

Execution
exec_out

Done with the Execution

Name

String
name

File name including its extension

Extension

String
extension

Text after the last dot of the name, without the dot; empty when there is none

Size

Integer
size

Size in bytes

Last Modified

Date
last_modified

When the file was last written

ETag

String
e_tag

Entity tag the store reports; it changes whenever the content changes

MIME Type

String
mime_type

Media type detected from the file's leading bytes, falling back to its extension

Kind

String
kind

One of image, pdf, office, audio, video, archive, text or other

Details

Struct
details

Metadata the file's format carries. image: width, height (upright, EXIF orientation applied), format, orientation. pdf: page_count, pdf_version, encrypted and whichever Info fields exist (title, author, subject, keywords, creator, producer, creation_date, modification_date as ISO 8601). office (docx, xlsx, pptx): title, creator, subject, keywords, created, modified, last_modified_by, pages, words, slides when present. Empty for every other kind or when the format cannot be parsed.

objectobject0 fields
No named fields in this schema.

Node Info

Internal name
file_get_metadata
Category
Data/Files/Operations