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

# Get Folder Or File Metadata

[get\_metadata](https://www.dropbox.com/developers/documentation/http/documentation#files-get_metadata)

scope: `files.metadata.read`

Returns the metadata for a file or folder.
Note: Metadata for the root folder is unsupported.

## Basic Parameters

<div className="integrations-table">
  | Parameter                           | Description                                                                                                                                                   |
  | ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Include Deleted                     | If true, DeletedMetadata will be returned for deleted file or folder, otherwise LookupError.not\_found will be returned. The default for this field is False. |
  | Include Has Explicit Shared Members | If true, the results will include a flag for each file indicating whether or not that file has any explicit members. The default for this field is False.     |
  | Include Media Info                  | If true, FileMetadata.media\_info is set for photo and video. The default for this field is False.                                                            |
  | Path                                | The path of a file or folder on Dropbox.                                                                                                                      |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter                | Description                                                                                                                                                                                           |
  | ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Dropbox API Path Root    | The path of the folder in the user's Dropbox to perform this action from. Can be the path to the user's home folder, a specific root ID, or a custom namespace.                                       |
  | Dropbox API Select Admin | Specify a team administrator ID to perform this action with administrator privileges.<br /><br />**Note**: A team access token with the `team_data.member` scope is required to use this parameter.   |
  | Dropbox API Select User  | Specify a team member ID to perform this action on behalf of that specific team member.<br /><br />**Note**: A team access token with the `team_data.member` scope is required to use this parameter. |
</div>

## Example Output

```json theme={"dark"}
{
	".tag": "<string>",
	"name": "<string>",
	"path_lower": "<string>",
	"path_display": "<string>",
	"id": "<string>",
	"client_modified": "<string>",
	"server_modified": "<string>",
	"rev": "<string>",
	"size": 12,
	"is_downloadable": true,
	"content_hash": "<string>"
}
```

## Workflow Library Example

[Get Folder or File Metadata with Dropbox and Send Results Via Email](https://library.blinkops.com/workflows/get-folder-or-file-metadata-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/get-folder-or-file-metadata-with-dropbox-and-send-results-via-email/canvas" />
</div>
