# How to archive and restore a Capsule

## How to archive a Capsule

Follow these steps to archive a Capsule:

1. On the Build page, click the **Capsules** tab.
2. On the left side of the screen, click the collection that contains the Capsule you want to archive.
3. In the three dot menu of the chosen capsule, select the **Archive** option.
4. A confirmation message will appear. Click **Archive** to proceed or **Cancel** to return to the previous screen.

<figure><img src="/files/rVgGgM7n4yMYadhjSaKS" alt=""><figcaption></figcaption></figure>

## How to restore a Capsule

Follow these steps to restore a Capsule:

1. On the Build page, click the **Capsules** tab.
2. On the left side of the screen, click on the **Archive filter** and select **Yes**.
3. In the three dot menu of the chosen capsule, select the **Restore** option.

<figure><img src="/files/r12wNwIYHRHkhRzrMbjo" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.digibee.com/documentation/developer-guide/development-cycle/build-overview/capsulas/how-to-use-capsules/how-to-archive-and-restore-a-capsule.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
