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

# Archiving sessions and Archived chats

> How to archive sessions (one at a time, by project, auto-archive, and when deleting a project), and how to view, restore and permanently delete them in Settings › Workspace › Archived chats.

**Archiving** removes sessions you are not using from the sidebar while keeping the full session record, so you can open or restore them at any time in **Settings › Workspace › Archived chats**. **Permanent deletion** deletes the session record, and it cannot be recovered. To clean up the sidebar when you are not sure whether you will need a session later, archive it.

## Availability

Supported in the desktop app, web app and mobile web. In the desktop app, you can also right-click a session row in the sidebar to open the menu. On mobile web, long-press a session to open the menu.

## Where to find it

**Archive a session**:

* The **…** menu in the session top bar or on a session row in the sidebar › **Archive**.
* Shortcut `⇧⌘A` (Windows: `Ctrl+Shift+A`) archives the current session.
* The **…** menu on a project row in the sidebar › **Archive chats** archives all unarchived sessions in that project at once.
* Auto-archive: **Settings › General › Archive inactive chats**.
* When you delete a project, the sessions in it are archived.

**View archived sessions**: **Settings › Workspace › Archived chats**.

## Archive a session

1. In the session's **…** menu, click **Archive**.
2. The session disappears from the sidebar, and the bottom of the sidebar shows **Archived “session title”**.
3. If you click **Undo** before the message disappears, the session returns to the sidebar right away. After that, you need to restore it from **Archived chats**.

If you are viewing the session, the interface returns to the new session page. When you archive by project, you see **Archived N chats**, which you can also undo.

## Auto-archive

**Settings › General › Archive inactive chats**:

| Option | Effect |
| - | - |
| Never (default) | No automatic archiving |
| After 7 days | Sessions whose last activity was more than 7 days ago are archived automatically |
| After 30 days | Sessions whose last activity was more than 30 days ago are archived automatically |

* This is a **workspace**-level setting that applies to all sessions in the workspace.
* Running sessions are not archived automatically. A session may not be archived immediately after the time limit passes.
* Automatically archived sessions also appear in **Archived chats** and can be restored.

## Archiving when you delete a project

When you delete a project, the sessions in it are archived. These sessions appear in **Archived chats** with **(project deleted)**. You can only open them to view or delete them permanently. They cannot be restored to the sidebar.

## The Archived chats page

**Settings › Workspace › Archived chats** lists the archived sessions in the current workspace, with the most recently archived first. Each row shows the session title, the project (or **No project** / **(project deleted)**) and the archive time.

### Open and view

Click the session title to open the session and view its full record.

### Restore

Click **Restore** on the row, and the session returns to the sidebar. Sessions whose project has been deleted have no **Restore** button.

### Delete permanently

1. Click the delete icon on the row (**Delete permanently**).
2. Confirmation dialog: **Permanently delete “session title”? Chat history can’t be recovered. Project files aren’t affected.**
3. After you confirm, you see **Deleted**.

## Rules and states

| Situation | What you see | What you can do |
| - | - | - |
| No archived sessions | **No archived chats** | Nothing needed |
| The session's project still exists, or the session belongs to no project | **Restore** and the delete icon | Restore to the sidebar, or delete permanently |
| The session's project has been deleted | **(project deleted)**, with only the delete icon | Open to view, or delete permanently |
| Loading, restoring or deleting failed | A failure message with the reason | Click **Retry** or try again |

## Archiving versus permanent deletion

| | Archive | Delete permanently |
| - | - | - |
| Session record | Kept, can be restored from **Archived chats** | Deleted, cannot be recovered |
| Project files | Not affected | Not affected |
| Running sessions | Can be archived | Cannot be deleted: while a session is running, queued or waiting for approval, you see **You can delete this after the task finishes or is stopped** |

The session's **…** menu also has **Delete permanently**, so you do not need to archive first.

## FAQ

### Where do a project's sessions go after the project is deleted?

They are archived and appear in **Archived chats**, with **(project deleted)**. You can only open these sessions to view them or delete them permanently. They cannot be restored to the sidebar.

### Where else can I see archived sessions?

On the **Activity** page in the icon bar, you can filter by the **Archived** status. **All** does not include archived sessions.

## Related

* [General and Appearance](https://docs.aihubmix.com/en/cloud/settings/general.md)
* [Notifications](https://docs.aihubmix.com/en/cloud/settings/notifications.md)
* [Sidebar](https://docs.aihubmix.com/en/cloud/interface/sidebar.md)
* [Activity](https://docs.aihubmix.com/en/cloud/sessions/activity-log.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.