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
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| File ID | String | Yes | File to look up. | |
| Access token | Credential | Yes | Box access token from the vault. Or leave it empty and choose a connection that signs in, which gets and renews the token. | |
| As user | String | No | Act on behalf of this Box user id (needs an admin or service account token). Leave empty to act as yourself. | |
| Endpoint address | String | No | https://api.box.com | Box API address. Leave the default unless your administrator gives you another. |
Outputs
| Output | Type | What it is |
|---|---|---|
| info | Dictionary | id, name, size, created_at, modified_at, sha1, parent_id, parent_name, owner, shared_link. |