Dropbox Search

Dropbox Search

Certified

Search Dropbox files and folders

Searches Dropbox for a query under an optional path. Path must start with / if provided and can come from kestra:// URI. Supports extension filters, max results, and fetchType (default FETCH) controlling memory vs storage output.

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

Search for files matching a query.

yaml
id: dropbox_search
namespace: company.team
tasks:
  - id: search_for_reports
    type: io.kestra.plugin.dropbox.files.Search
    accessToken: "{{ secret('DROPBOX_ACCESS_TOKEN') }}"
    query: "report.csv"
    path: "/reports"
    fetchType: FETCH
Properties

Dropbox access token

Token must allow search within the specified scope.

Search query

DefaultFETCH
Possible Values
STOREFETCHFETCH_ONENONE

Fetch strategy

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

SubTypestring

File extensions filter

Restrict results to listed extensions, e.g., jpg, csv.

Maximum results

Search path (optional)

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

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

First search result

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.

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'.

Search results

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.

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

Result count

Formaturi

Stored results URI

Populated when fetchType is STORE.

The number of matching files and folders found.