# Files

> Upload and organize files in folders, choose who can see them and preview them without leaving Deer.

Source: https://docs.deerapp.co/en/workspace/files/

**Files** brings your private files, team files and channel attachments together in one place. Open it from the sidebar, or from the **Files** tab inside any team.

![The Deer Files page in the Explorer view](https://deerapp.co/assets/shots2/workspace_data_en_dark.png)

## Find your way around

The page has four views at the top:

| View | What it shows |
| --- | --- |
| **Explorer** | A file tree beside the list, with **All files**, **Private files** and **Shared with me**, then **Folders**. |
| **List** | A table with name, owner, sharing, size and **Modified**. |
| **Grid** | Cards with a thumbnail or excerpt of each file. A folder card shows the first items inside it. |
| **Trash** | Files and folders deleted in the last 30 days. |

**Search files…** matches names in the current folder and its subfolders. Sort by **Newest first**, **Name** or **Oldest first**. The folder path shows where you are; select any part of it to go back.

Every file or folder created by AI, an MCP client or an automation carries its mark, so you can always tell what non-human actors added.

## Who can see a file

Every file and folder has one sharing level:

| Sharing | Who can see it |
| --- | --- |
| **Private** | Only you. |
| **Workspace** | Everyone in the workspace with permission to read files. |
| **Team** | Only members of the linked team. |

A team file appears both in the team's **Files** tab and in **All files**. It is one file, not two copies. When someone leaves a team, they lose access to its files.

A folder has one sharing level, and everything inside it follows that level. When you upload a file into a folder or move a file there, it takes the folder's sharing.

### Channel files

When someone sends a file in a channel, it appears in Files inside a folder named after the channel. Anyone who can open the channel can see it: files from a public channel are available to the workspace, and files from a private channel only to its members. Read more in [Chat](https://docs.deerapp.co/en/workspace/chat/).

## Upload files

#### Choose the place
Open **All files**, a folder or a team's **Files** tab. Everything you upload takes the sharing of that place.

#### Set sharing at the top level
In **All files**, outside any folder, choose **Private** or **Workspace** from **Upload visibility**. It starts on **Private**.

#### Upload
Select **Upload files** and pick one or more files, or drag files onto the page or onto a specific folder.

Files accepts any file type. It keeps the file exactly as you uploaded it and returns the same file when you download it.

> [!NOTE]
> You can upload to a team only if you are a member and the team is active. Archived teams are read only.

## Create folders and text documents

Select **New folder** to create a folder in the current place. A new folder inherits its parent folder's sharing. Its name can be up to 100 characters, cannot contain a slash and must be unique in that place.

To write a quick note, right-click an empty area of the page and choose **New text document**. Enter a name and the text, and Deer saves it as a plain text file with the sharing of the place where you created it. This option is not available inside channel folders.

> [!IMPORTANT]
> Deer does not edit file contents in place. To change a file, download it, edit it in your own app, then upload the new version.

## Open and preview a file

Select any file to open it in a side panel. The panel shows its sharing, folder, size and a preview of the content, with a **Download file** button.

| Type | Preview |
| --- | --- |
| Images | The full image. |
| Audio and video | A built-in player. |
| PDF | Page by page, with **Previous** and **Next**. |
| DOCX | The document's text. |
| XLSX, CSV and TSV | The first 100 rows and 30 columns, with a switch between sheets. |
| Text (TXT, MD, JSON, LOG) | The text as it is. |

Previews are read only. Macros, formulas, external links and embedded objects never run, and HTML and Markdown show as plain text. If a format has no preview, download the file to open it.

## Organize several items

Select files and folders with their checkboxes, or choose **Select all**, then use the buttons that appear:

- **Group into folder**: creates a new folder and puts the selected items in it. The items must be in the same folder with the same sharing.
- **Duplicate**: copies the items, including everything inside selected folders. A copied folder gets a number after its name, such as “Reports (2)”.
- **Share**: changes sharing to **Private**, **Workspace** or **Team**, including everything inside selected folders.
- **Delete**: moves the items and everything inside them to Trash.

An item inside a folder follows that folder's sharing. To change the sharing of one item inside a folder, move it out of the folder first.

To move a single file, open its options and choose **Move to folder**, then pick a **Destination folder**. The file inherits the sharing of the folder you choose. Choose **All files · retain sharing** to move it to the top level and keep its sharing. You can also drag the file onto a folder.

## Who can change what

- Each person sees only the files their sharing allows. Private files are hidden from everyone except their owner, including admins.
- A file's owner can rename, move, share and delete it. Workspace owners and admins can do the same for files they can see.
- Only the owner of a private folder can add to it.
- Role permissions decide who can open Files and who can change files. By default, members can change files and guests can only read them. See how they are set in [Roles and permissions](https://docs.deerapp.co/en/admin/roles_and_permissions/).

## Trash

A deleted file or folder stays in **Trash** for 30 days, then it is deleted for good. Each item shows who deleted it and when.

- **Restore** brings back the item and everything deleted with it at the same time, including its folders.
- **Delete forever** erases the item and everything deleted with it immediately. This cannot be undone.

## Storage limits

Files is available on every plan. Your workspace plan sets the upload and storage limits.

| Plan | Maximum file size | Workspace storage |
| --- | --- | --- |
| Free | 10 MB | 100 MB |
| Plus | 25 MB | 10 GB |
| Pro | 50 MB | 50 GB |

If the workspace reaches its storage limit, you can permanently delete unneeded files from Trash to make room. See [Plans and billing](https://docs.deerapp.co/en/admin/billing/#file-storage).

Using files in AI answers through the [knowledge base](https://docs.deerapp.co/en/ai/knowledge_base/) requires Pro. AI can read only the files you can open.

## Actions

Everything you do in Files is an action with an id. AI, MCP clients and automations can run the same actions with the same permissions, and each run is recorded in the [audit log](https://docs.deerapp.co/en/admin/audit_log/).

| Id | What it does | Risk |
| --- | --- | --- |
| `data.upload` | Uploads a file with explicit sharing. | Write |
| `data.create_text` | Saves text as a new file. | Write |
| `data.create_folder` | Creates a folder with its parent's sharing. | Write |
| `data.rename_file` | Renames a file. | Write |
| `data.rename_folder` | Renames a folder without changing its sharing. | Write |
| `data.move_file` | Moves a file into a folder and applies its sharing. | Write |
| `data.share_items` | Changes the sharing of selected items and their contents. | Write |
| `data.duplicate_items` | Copies selected items and their contents. | Write |
| `data.group_items` | Groups selected items into a new folder. | Write |
| `data.delete_items` | Moves selected items to Trash. | Destructive |
| `data.delete_file` | Moves one file to Trash. | Destructive |
| `data.restore_file` | Restores an item from Trash with everything deleted alongside it. | Write |
| `data.purge_file` | Deletes an item from Trash for good. | Destructive |
| `data.download` | Checks download permission and returns the file. | Read |

Read actions need the `data:read` scope; all other actions need `data:write`.

## AI and approvals

AI and MCP clients see files only with the permissions of the person they act for. Any delete they request waits for a person's approval before it runs. Their other changes run directly, unless a workspace owner or admin turns on **Require approval for AI write actions**. Read more in [Approvals](https://docs.deerapp.co/en/ai/approvals/).

- [Teams](https://docs.deerapp.co/en/workspace/projects/) A team's files, members and channel in one place.
- [Chat](https://docs.deerapp.co/en/workspace/chat/) Send files in channels and direct messages.
- [Knowledge base](https://docs.deerapp.co/en/ai/knowledge_base/) Let AI answer from your company's files.
