> For the complete documentation index, see [llms.txt](https://docs.unitlab.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.unitlab.ai/documentation/data/data-curation.md). Agents can also search and read this documentation through its [MCP server](https://docs.unitlab.ai/~gitbook/mcp).

# Curate and filter data

Filter files by type, quality, metadata and frames, then save the right ones as a Collection or dataset.

Curation means picking the right files to label. Good curation saves labeling time: you skip duplicates and broken files, and you make sure rare cases are included.

{% embed url="<https://homepage-files.s3.us-east-2.amazonaws.com/hero-videos/hero/data-curation-1.mp4>" %}

## Where curation happens

Open a folder in **Assets**. The buttons at the top right of the folder switch between:

* **Explore**: browse and filter the folder's files in List, Grid or Embedding view.
* **Collections**: saved selections of files from this folder.

![Folder in Explore with the grid of robot images and the More Filters panel showing Asset Type and Granularity](https://292810646-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGjVLUz4wthGkGlRKM6rM%2Fuploads%2FsffvgjhVFFq1DdsZlllv%2Fdata-assets-grid.webp?alt=media)

## Filter files

1. Open a folder and stay on **Explore**.
2. Open **More Filters**. The panel has these fixed sections:
   * **Asset Type**: Images, Video, Audio, Document, Text, HTML, Medical, Geospatial, Pathology, Time series, Tabular, Point cloud.
   * **Granularity**: Video or Frames (see below).
   * **Source**: Uploaded or Cloud Storage.
   * **Tags**, **Date** and **File Properties** (size, minimum width and height).
3. Add more filters from the catalog (see the table below).
4. Watch the result count at the bottom. It updates as you filter and shows **Updating…** while loading. **Reset All** clears every filter.

<details>

<summary>All filter categories</summary>

| Category           | Examples                                                                                                                                                                                               |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Data**           | File name, type, extension, ID; upload, created and modified dates; width, height, resolution, aspect ratio, size; video duration, frame count, FPS; medical modality, series, study and slice counts. |
| **Metadata**       | Folder, collection, dataset and group membership; storage provider and bucket; uploaded by, created by; asset and system tags.                                                                         |
| **Embeddings**     | Similar files, natural-language search, embedding clusters, diverse and representative samples, similarity thresholds.                                                                                 |
| **Image Features** | Sharpness, noise, exposure, brightness, contrast, saturation, dominant colors, entropy, edge density, orientation.                                                                                     |
| **Video & Frames** | Frame number, timestamp, keyframes only, scene changes, frame tags and quality.                                                                                                                        |
| **Data Quality**   | Exact and near duplicates, outliers, blurry, low-resolution and corrupted files, missing metadata.                                                                                                     |

Filters marked **Preview** can be set up but do not narrow the results yet.

</details>

## Curate video by frame

In **More Filters**, the **Granularity** switch changes how videos are listed:

* **Video**: one entry per video file.
* **Frames**: each video is expanded into its frames, so you can scan them quickly.

Selecting a frame selects its whole video. Collections, datasets and downloads always use complete videos.

## Save a selection as a Collection

A **Collection** is a saved set of files inside one folder. Use it to come back to the same files later or to add them to a dataset.

1. In **Explore**, select the files you want.
2. Select **Add to Collections**, then create a new Collection or pick an existing one.
3. Open **Collections** to see it. From there you can **View in explorer**, **Add to dataset** or **Download**.

Removing or deleting a Collection never deletes its files.

## Collection, filter or dataset?

| Use                 | When                                                                                                                                                |
| ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Filter**          | You are exploring. Filters are not saved with the data.                                                                                             |
| **Collection**      | You want to keep a working selection inside a folder.                                                                                               |
| **Dataset version** | The selection must stay fixed for labeling or training. See [Create a dataset](https://docs.unitlab.ai/documentation/datasets/create-a-dataset.md). |

## Example: build a balanced grasping set

1. Open the folder with a week of robot recordings and set **Granularity** to **Frames**.
2. Filter out blurry frames and near duplicates under **Data Quality**.
3. Switch to **Embedding** view and pick frames from every cluster, so rare objects such as transparent cups are included.
4. Add the selection to a Collection named *Grasping batch 1*, then **Add to dataset**.

## Add tags and metadata

Tags and custom metadata travel with each file and can be filtered. Good examples are capture site, sensor, date, device version or consent state. Do not store the answer annotators should find (for example *contains\_forklift*) as metadata; that belongs in the [ontology](https://docs.unitlab.ai/documentation/ontologies/ontologies-overview.md). You can set metadata during upload or later with the SDK.

## Common curation tasks

* Remove low-resolution or blurry uploads.
* Find long videos or videos with a low frame rate.
* Pick files from one bucket and date range.
* Remove near-duplicate frames from a video dataset.
* Build a balanced sample across embedding clusters.

## Related

[Similarity search and outliers](https://docs.unitlab.ai/documentation/data/embeddings-similarity-and-outliers.md) · [Data Groups and layouts](https://docs.unitlab.ai/documentation/data/data-groups-and-layouts.md) · [Create a dataset](https://docs.unitlab.ai/documentation/datasets/create-a-dataset.md)
