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

> ## Agent Instructions
> For how to do something in the Clarifeye app, use the pages under /guides: the Guides tab has step-by-step how-tos, the Overview tab explains each feature.
> The API and Back Office tabs document the REST API. Use them only for questions about the API or integrations.
> Interface labels are in bold, exactly as they appear in the app, which is in English.

# Archive a document

> Archive documents that no longer apply so Clara and AI clients stop using them, find them again under Archived, and delete them permanently if needed.

Archive a document when it's out of date or no longer applies. Archived documents are no longer used by Clara or AI clients in answers, but they're kept in the store for history.

You need the **Admin** or **Knowledge maintainer** permission in the knowledge store. See [User management](https://docs.clarifeye.ai/guides/user-management.md).

## Archive documents

1. Open **Sources** in the store's sidebar. The list of documents opens first.
2. Find the document, for example by searching its name.
3. Open the menu at the end of its row (**More actions**) and choose **Archive document**.
4. Click **Archive** to confirm.

To archive several documents at once, tick them, click **Archive selected** in the bar above the list, then **Archive**.

The document shows **Archiving…** while it's being removed from search, then **Archived**. Archived documents are left out of the default list (**Active**).

## Find archived documents

Click **Archived** next to the search box. Archived documents are greyed out and marked **Archived**. You can still open them and view their details.

> [!NOTE]
>
> If your store publishes changes manually, an archived document shows **pending publish** and is still searchable until someone publishes the store's extraction flow. A banner at the top of Sources says how many are waiting.

## Archiving can't be undone

There is no unarchive. To bring a document back, upload the file again: it's added as a new document and processed again. See [Upload documents](https://docs.clarifeye.ai/guides/sources/upload.md).

A document imported by a [Google Drive or SharePoint connector](https://docs.clarifeye.ai/guides/sources/connect-google-drive-sharepoint.md) stays archived: later syncs don't import or update it again, even if the file changes. To bring it back, delete it permanently (below); the next sync imports the file fresh.

Connectors also archive documents themselves: a file deleted or moved out of the selected folders is archived at the next sync.

## Delete a document permanently

Only archived documents can be deleted permanently. This deletes the file and its history and can't be undone.

1. Click **Archived** next to the search box.
2. Open the document's row menu and choose **Permanently delete**, or tick several documents and click **Permanently delete selected**.
3. Click **Delete permanently** to confirm.

## Or ask Clara

In [Work with Clara](https://docs.clarifeye.ai/guides/work-with-clara.md), ask Clara to archive documents, for example "archive the old versions of the pricing rules". She shows you which documents she'd archive and archives them once you agree. To review the whole library for outdated versions, duplicates and documents that contradict each other, type `/organize-document-library`.


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