Dropbox GetMetadata

Dropbox GetMetadata

Certified

Retrieve Dropbox item metadata

Retrieves metadata for a Dropbox file or folder. Path must start with / or come from a kestra:// URI. Optional media info disabled by default.

yaml
type: io.kestra.plugin.dropbox.files.GetMetadata

Get the metadata for a file or folder.

yaml
id: dropbox_get_metadata
namespace: company.team
tasks:
  - id: get_file_metadata
    type: io.kestra.plugin.dropbox.files.GetMetadata
    accessToken: "{{ secret('DROPBOX_ACCESS_TOKEN') }}"
    path: "/kestra_uploads/my_file.txt"
Properties

Dropbox access token

Token must allow reading the target path.

Path to inspect

Literal Dropbox path or kestra:// URI containing the path. Must start with /.

Defaultfalse

Include media info

Default false. When true, returns media info if available.

Reference (ref) of the pluginDefaults to apply to this task.

Metadata for the item

Definitions
clientModifiedstring
Formatdate-time

Client modified time

Last modified timestamp from Dropbox.

idstring

Unique item ID

Dropbox path_lower for the entry.

namestring

Item name

pathstring

Display path

Lower-case path for display.

sizeinteger

Size in bytes

Null for folders.

typestring

Entry type

Either 'file' or 'folder'.