> For the complete documentation index, see [llms.txt](https://help.brieftech.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.brieftech.ai/reference/folders-labels-and-collections.md).

# Folders, labels, and collections

BriefTech offers three independent ways to organise documents within a matter.

## Folders

Folders mirror the folder structure of the files you upload. When you upload a folder tree, BriefTech preserves the source directory for each document, and you can browse and filter by folder. When you **drag and drop** files or folders in, an item whose path is longer than **260 characters** is rejected before the upload starts; the <img src="/files/Nlp5ANnAYoEK1Fe4tXZp" alt="Upload" data-size="line"> button does not apply this check. See [File size and storage limits](/reference/file-size-and-storage-limits.md#path-length).

Folders start out mirroring your uploads, but you can also manage them yourself. From the folder list you can create a new folder, rename a folder, or remove a folder, and you can drag documents or folders between folders to reorganise them. A folder name cannot contain a forward slash (`/`).

In the Document Index, open the <img src="/files/sBGmuJdfayUj5cZZo5Gz" alt="Apply preset" data-size="line"> menu and choose **Generate index headings →** <img src="/files/itowllASoCtOb4xsyTuc" alt="Group by folder" data-size="line">. BriefTech then creates a Document Index section heading for each uploaded folder and groups the documents in that folder under the heading that matches it.

## Labels

Labels are colour-coded markers you create and apply to documents — for example to mark relevance or privilege.

> You can apply a label by dragging documents onto it in the Review or Files sidebar; see [Apply labels to documents](/how-to-guides/organise/apply-labels-to-documents.md) for the other ways to apply one.

| Attribute    | Detail                                                                                                                                                                                                                                         |
| ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Name         | Up to **50 characters**.                                                                                                                                                                                                                       |
| Colour       | A 6-digit hex value, for example `#004bc5`.                                                                                                                                                                                                    |
| Per document | A document can carry more than one label.                                                                                                                                                                                                      |
| Scope        | Per matter — a new matter starts with no labels; create them from the **Labels** section of the left sidebar as you need them.                                                                                                                 |
| Managed from | The **Manage labels** dialog, reached from the **Manage labels** link at the bottom of any label picker (for example the **Labels** cell on a document in the Review tab, or the bulk label menu) — rename, recolour, or delete a label there. |
| Deletion     | A label can only be deleted once it is no longer applied to any document.                                                                                                                                                                      |

To filter the matter to documents carrying a label, tick that label in the Review panel sidebar (see *Filtering by folder or label* below).

## Collections

A collection is a named subset of the documents in a matter. Collections let you segment a large document set and act on one segment at a time — for example, to run AI analysis, build a Document Index, or generate a court bundle for just that subset.

| Attribute    | Detail                                                  |
| ------------ | ------------------------------------------------------- |
| Name         | Up to **50 characters**.                                |
| Per document | A document can belong to more than one collection.      |
| Created from | The left sidebar.                                       |
| Actions      | Rename, clone (start a new one from a copy), or delete. |

> You add documents to a collection from the bulk-action toolbar; see [Group documents into a collection](/how-to-guides/organise/group-documents-into-collection.md).

Once a collection exists, you can also add documents to it these ways:

* **Right-click** one or more selected documents and choose **Edit Collections** to open the same collection dialog as the toolbar button.
* **From a document's properties** — select a document, open its properties, and set its collections under the **Organisation** heading.
* **By dragging** — select one or more documents and drag them onto a collection in the left **Collections** sidebar, then confirm.

## Filtering by folder or label

In the Review panel, the folder and label lists in the left sidebar are tick-box filters. Tick a folder to show its documents, tick a parent folder to include everything nested inside it (a parent with only some subfolders ticked shows as partly ticked), and tick more than one folder to combine them.

Labels filter the same way — tick one or more labels to narrow the view to documents carrying any of them. Under each folder, a **\[FILES]** entry lets you tick just the documents held directly in that folder, excluding its subfolders.

The same sidebar also filters by collection and by document class. Your ticked filters combine in two ways:

* **Within one list, ticks widen the view** — any ticked folder, any ticked label, or any ticked class matches. (Only one collection can be active at a time.)
* **Across lists, they narrow it** — a document must match your folder selection **and** your label selection **and** your class selection, within the collection you have active.

Collections are described above; document classes are covered in [Document metadata fields](/reference/document-metadata-fields.md).

Each folder shows a count of the documents it contains, and with nothing ticked every document is shown; untick your selections to clear the filter.

In the Files panel the sidebar is a single-select tree instead. It groups its entries under **Views** (document-status groups such as All, Exceptions and Processing), your **Folders**, and your **Collections**; clicking one entry shows just that view. The Document Index sidebar is a separate single-select tree and is not a tick-box filter either.

## Related

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Document metadata fields</strong></td><td>The document fields you can edit in the <img src="/files/9C48Pbtzosn7QyvNGfYt" alt="Review tab" data-size="line"> tab and their accepted values.</td><td><a href="/pages/L8nG61o2o8X9xUnAQSJq">/pages/L8nG61o2o8X9xUnAQSJq</a></td></tr><tr><td><strong>Column options</strong></td><td>The columns you can add to a Document Index and their alignment.</td><td><a href="/pages/t5Ugrk1jd83JcVMeMh4v">/pages/t5Ugrk1jd83JcVMeMh4v</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.brieftech.ai/reference/folders-labels-and-collections.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
