Skip to main content

Get file info

Read a file's name, size, dates, owner and folder.

Command in the Box toolkit · id ooa.box/get_file_info · 4 inputs (2 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
File IDStringYesFile to look up.
Access tokenCredentialYesBox access token from the vault. Or leave it empty and choose a connection that signs in, which gets and renews the token.
As userStringNoAct on behalf of this Box user id (needs an admin or service account token). Leave empty to act as yourself.
Endpoint addressStringNohttps://api.box.comBox API address. Leave the default unless your administrator gives you another.

Outputs​

OutputTypeWhat it is
infoDictionaryid, name, size, created_at, modified_at, sha1, parent_id, parent_name, owner, shared_link.