Dropbox Files List

Dropbox Files List

Certified

List Dropbox directory entries

Lists files and folders under a path (default root). Path must start with / when set and can come from a kestra:// URI. Supports recursion, limit (default 2000), and fetchType (default FETCH) to control memory vs storage output.

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

List all files and folders in a specific Dropbox directory.

yaml
id: dropbox_list_files
namespace: company.team
tasks:
  - id: list_files_from_dropbox
    type: io.kestra.plugin.dropbox.files.List
    accessToken: "{{ secret('DROPBOX_ACCESS_TOKEN') }}"
    from: "/My Kestra Files/Inputs"
    recursive: true
    fetchType: FETCH
Installation

Our standard Docker images already include this plugin. If you use a -slim image or another setup, install it with the following command:

kestractl plugins get io.kestra.plugin:plugin-dropbox --compatible-for $KESTRA_VERSION

For kestractl, use your Kestra version with --compatible-for, or specify an exact plugin version.

For Kestra CLI, replace LATEST with a specific version or version range to pin the plugin version.

Properties

Dropbox access token

Token must allow listing the target path.

Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.

Definitions
assetFailureBehaviorstring
Possible Values
IGNOREFAILWARN

Asset failure behavior

Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.

enableAutobooleanstring

Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.

inputsarray

The assets consumed as inputs.

id*string
Min length1
typestring
outputs

The assets produced as outputs.

id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*string
Min length1

Custom asset type

descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
DefaultFETCH
Possible Values
STOREFETCHFETCH_ONENONE

Fetch strategy

FETCH_ONE: return first entry. FETCH (default): return all entries in memory. STORE: stream entries to Kestra storage and return URI.

Directory path

Literal Dropbox path or kestra:// URI containing the path. Empty, null or / lists the root. Must start with / when set, or be a Dropbox id: or ns: reference.

Default2000

Maximum entries

Default 2000. Passed to Dropbox API as limit.

Defaultfalse

Recursive listing

Default false. When true, traverses sub-folders.

First entry

Populated when fetchType is FETCH_ONE.

Definitions
clientModifiedstring
Formatdate-time

Client modified time

Last modified timestamp from Dropbox. Null for folders.

idstring

Lower-cased path

Dropbox path_lower for the entry — the item's lower-cased path, not a stable unique ID.

mediaInfo

Media info

Photo or video metadata. Only populated by GetMetadata with includeMediaInfo: true.

durationinteger

Video duration in milliseconds

Null for photos.

heightinteger

Height in pixels

latitudenumber

GPS latitude

longitudenumber

GPS longitude

pendingboolean
Defaultfalse

Pending

True when Dropbox has not finished extracting the media info yet; other fields are then null.

timeTakenstring
Formatdate-time

Time the photo or video was taken

typestring

Media type

Either 'photo' or 'video'. Null while Dropbox is still extracting the media info.

widthinteger

Width in pixels

namestring

Item name

pathstring

Display path

Case-preserved display path from Dropbox.

sizeinteger

Size in bytes

Null for folders.

typestring

Entry type

Either 'file' or 'folder'.

Directory entries

Populated when fetchType is FETCH.

Definitions
clientModifiedstring
Formatdate-time

Client modified time

Last modified timestamp from Dropbox. Null for folders.

idstring

Lower-cased path

Dropbox path_lower for the entry — the item's lower-cased path, not a stable unique ID.

mediaInfo

Media info

Photo or video metadata. Only populated by GetMetadata with includeMediaInfo: true.

durationinteger

Video duration in milliseconds

Null for photos.

heightinteger

Height in pixels

latitudenumber

GPS latitude

longitudenumber

GPS longitude

pendingboolean
Defaultfalse

Pending

True when Dropbox has not finished extracting the media info yet; other fields are then null.

timeTakenstring
Formatdate-time

Time the photo or video was taken

typestring

Media type

Either 'photo' or 'video'. Null while Dropbox is still extracting the media info.

widthinteger

Width in pixels

namestring

Item name

pathstring

Display path

Case-preserved display path from Dropbox.

sizeinteger

Size in bytes

Null for folders.

typestring

Entry type

Either 'file' or 'folder'.

Default0

Entry count

Formaturi

Stored entries URI

Populated when fetchType is STORE.

The number of files and folders found.