YOLO Vision 2026:

Trash and Restore#

Ultralytics Platform implements a 30-day soft delete policy, allowing you to recover accidentally deleted projects, datasets, and models. Deleted items are moved to Trash where they can be restored before permanent deletion.

Ultralytics Platform Settings Trash Tab With Items And Storage Treemap

Soft Delete Policy#

When you delete a resource on the platform:

  1. Immediate: Item moves to Trash (not permanently deleted)
  2. 30 Days: Item remains recoverable in Trash
  3. After 30 Days: Item is permanently deleted automatically
Recovery Window

You have 30 days to restore any deleted item. After this period, the item and all associated data are permanently removed and cannot be recovered.

Accessing Trash#

Navigate to your Trash:

  1. Go to Settings and click the Trash tab
  2. Or navigate directly to /trash (redirects to Settings > Trash)

Ultralytics Platform Settings Trash Tab Filter By Type Dropdown

Trash Contents#

The Trash shows all soft-deleted resources with filter tabs, each showing a live count, plus a search box that matches on name and type:

FilterShows
AllAll trashed items
DatasetsTrashed datasets
ProjectsTrashed projects
ModelsTrashed models

Viewing Trash Items#

Each item in Trash displays:

FieldDescription
NameOriginal resource name
TypeProject, Dataset, or Model (color-coded)
DeletedHow long ago the item was deleted
ExpiresDays until permanent deletion (e.g. "30d"), amber under 15 days and red under 8
SizeStorage used by the item
CascadedChild items included, shown as a +N badge next to the name

(Parent project information is returned by the Trash API for models but is not shown in the Trash table.)

Cascade Behavior#

When deleting a parent resource, child resources are also moved to Trash:

Resource TypeWhat's Included When Deleted
ProjectsProject + all models inside
DatasetsDataset + all images and annotations
ModelsModel weights + training history + exports
Active Training Is Cancelled

Trashing a model — or a project containing one — cancels any cloud training that model has in progress and terminates its GPU instance. Elapsed GPU time is still billed. See Billing.

Storage Treemap#

The Trash tab includes a storage visualization (treemap) showing the relative size of trashed items, color-coded by type:

  • Blue: Projects
  • Green: Datasets
  • Purple: Models

Restoring Items#

Recover a deleted item (Editor role or higher in a team workspace):

  1. Navigate to Settings > Trash
  2. Find the item you want to restore
  3. Click the Restore button (undo icon)

Ultralytics Platform Settings Trash Tab Restore Button On Item The item returns to its original location with all data intact.

If the original slug is already taken, the platform restores the item with a unique available slug so you can access it immediately.

Restore Behavior#

ResourceRestore Behavior
ProjectRestores project and all contained models
DatasetRestores dataset with all images and annotations
ModelRestores model to original project if the project is active
Parent Project Required

Restoring a model fails if its parent project is in Trash. You'll see the error: "Cannot restore model while its parent project is in trash. Restore the project first." Always restore the parent project before restoring individual models.

Permanent Deletion#

Automatic Deletion#

Items in Trash are automatically and permanently deleted after 30 days.

Empty Trash#

Permanently delete all items immediately:

  1. Navigate to Settings > Trash
  2. Click the trash icon in the header
  3. Confirm the action
Irreversible Action

Emptying Trash permanently deletes all items immediately. This action cannot be undone and all data will be lost, including attached deployments, export jobs, and stored files tied to the trashed resources.

Delete Single Item Permanently#

To permanently delete one item without waiting:

  1. Find the item in Trash
  2. Click the Delete permanently (trash) button on its row
  3. Confirm deletion — the dialog names the item and how many cascaded models go with it

For projects, permanent deletion also removes related deployments and export files that belong to the deleted workspace resources. If a deployment cannot be deleted, the Platform warns you and leaves it listed on the Deployments page so you can retry from there.

Storage and Trash#

Items in Trash still count toward your storage quota:

ScenarioStorage Impact
Delete itemStorage remains allocated
Restore itemNo change (was still counting)
Permanent deletionStorage freed
30-day auto-deletionStorage freed automatically
Free Up Storage

If you're running low on storage, empty Trash or permanently delete specific items to immediately reclaim space. Check your storage usage in Settings and see Billing for plan storage limits.

API Access#

Access trash programmatically via the REST API. All three operations live on the same /api/trash path and operate on the workspace that issued the API key — to manage a team workspace's trash, use an API key from that workspace. The Python examples use the ultralytics-platform SDK:

from ultralytics_platform import Platform

client = Platform()  # reads ULTRALYTICS_API_KEY
curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://platform.ultralytics.com/api/trash?type=all&page=1&limit=50"
trash = client.lifecycle.trash(type="all", page=1, limit=50)

type accepts all, project, dataset, or model. limit defaults to 50 and caps at 200. Listing needs Viewer access or higher.

Restoring and deleting require Editor access or higher.

FAQ#

  • No. After 30 days, items are permanently deleted and cannot be recovered. Make sure to restore important items before the expiration date shown in Trash.

  • Both the project and all active models inside it move to Trash together. Restoring the project restores the models that were trashed with it. A cascaded model cannot be restored while its parent project remains in Trash.

  • Yes, items in Trash continue to use storage quota. To free up space, permanently delete items or empty Trash.

  • No. If a project is permanently deleted, all models that were inside it are also permanently deleted. Always restore items before the 30-day window expires.

  • Each item in Trash shows an "Expires" column with the number of days (e.g. "30d") until automatic permanent deletion occurs.

Comments