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

# Key Concepts

> Understanding the core concepts of Drime Cloud

## File Entries

A **File Entry** represents either a file or a folder in Drime Cloud. Each entry has:

* A unique **ID**
* A **hash** for public URLs
* A **parent\_id** (null = root)
* A **workspace\_id** (0 = personal space)

```json theme={null}
{
  "id": 123456,
  "name": "document.pdf",
  "type": "pdf",
  "hash": "MTIzNDU2fA",
  "parent_id": null,
  "workspace_id": 0
}
```

## Workspaces

**Workspaces** allow you to organize your files and collaborate:

<CardGroup cols={2}>
  <Card title="Personal Space" icon="user">
    `workspaceId = 0` represents your default personal space
  </Card>

  <Card title="Shared Workspaces" icon="users">
    Create workspaces to collaborate with your team
  </Card>
</CardGroup>

## File Types

Drime Cloud automatically recognizes file types:

| Type     | Description                  |
| -------- | ---------------------------- |
| `folder` | Folder                       |
| `image`  | Images (jpg, png, gif, etc.) |
| `video`  | Videos (mp4, mov, etc.)      |
| `audio`  | Audio files (mp3, wav, etc.) |
| `pdf`    | PDF documents                |
| `text`   | Text files                   |
| `file`   | Other files                  |

## Permissions

When sharing, you can grant different permissions:

<AccordionGroup>
  <Accordion title="view" icon="eye">
    Allows viewing the file/folder
  </Accordion>

  <Accordion title="edit" icon="pen">
    Allows modifying the file/folder
  </Accordion>

  <Accordion title="download" icon="download">
    Allows downloading the file
  </Accordion>
</AccordionGroup>

## Vault (Encrypted Storage)

The **Vault** is a client-side encrypted storage area:

<Warning>
  Vault files are encrypted with your password. If you lose this password, files are **unrecoverable**.
</Warning>

* Client-side AES encryption
* Keys never leave your device
* Ideal for sensitive documents
