Search for files and folders in Dropbox.

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: "{{ secrets.DROPBOX_ACCESS_TOKEN }}"
    query: "report.csv"
    path: "/reports"
    fetchType: FETCH
Properties

Dropbox access token.

The string to search for.

Default FETCH
Possible Values
STOREFETCHFETCH_ONENONE

How to fetch the data.

FETCH_ONE: Returns a single row. FETCH: Returns all rows in memory. STORE: Returns all rows in a file stored in Kestra's internal storage.

SubType string

Restricts search to only files with the given extensions (e.g., 'jpg', 'png').

The maximum number of results to return.

The path to search in (optional).

Can be a direct path as a string, or a Kestra internal storage URI (kestra://...) of a file containing the path.

The first search result found.

Only populated if fetchType is FETCH_ONE.

SubType

The list of search results.

Only populated if fetchType is FETCH.

Default 0

The number of results found.

Format uri

The URI of the file in Kestra's internal storage.

Only populated if fetchType is STORE.

Format date-time

The last time the file was modified on Dropbox.

The unique ID of the file or folder.

The file or folder name.

The lower-case version of the path for display.

The file size in bytes.

Null for folders.

The type of the entry.

Can be 'file' or 'folder'.