> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Search

[search](https://www.dropbox.com/developers/documentation/http/documentation#files-search)

scope: `files.metadata.read`

Searches for files and folders.
Note: `search:2` along with `search/continue:2` can only be used to retrieve a maximum of 10,000 matches.
Recent changes may not immediately be reflected in search results due to a short delay in indexing. Duplicate results may be returned across pages. Some results may not be returned.

## Basic Parameters

<div className="integrations-table">
  | Parameter          | Description                                                                                |
  | ------------------ | ------------------------------------------------------------------------------------------ |
  | Include Highlights | Whether to include highlight span from file title. The default for this field is False.    |
  | Query              | The string to search for. May match across multiple fields based on the request arguments. |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter       | Description                                                                                                              |
  | --------------- | ------------------------------------------------------------------------------------------------------------------------ |
  | Account ID      | Restricts results to the given account ID. This field is optional.                                                       |
  | File Categories | Restricts search to only the file categories specified. Only supported for active file search. This field is optional.   |
  | File Extensions | Restricts search to only the extensions specified. Only supported for active file search. This field is optional.        |
  | File Status     | Restricts search to the given file status. The default for this union is active.                                         |
  | Filename Only   | Restricts search to only match on filenames. The default for this field is False.                                        |
  | Max Results     | The maximum number of search results to return. The default for this field is 100.                                       |
  | Order By        | Specified property of the order of search results. By default, results are sorted by relevance. This field is optional.  |
  | Path            | Scopes the search to a path in the user's Dropbox. Searches the entire Dropbox if not specified. This field is optional. |
</div>

## Example Output

```json theme={"dark"}
{
	"has_more": false,
	"matches": []
}
```

## Workflow Library Example

[Search with Dropbox and Send Results Via Email](https://library.blinkops.com/workflows/search-with-dropbox-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/search-with-dropbox-and-send-results-via-email/canvas" />
</div>
