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

> ## Agent Instructions
> The canonical docs host is https://momentic.ai/docs. Append .md to any page URL for clean Markdown. Fetch https://momentic.ai/docs/llms.txt for the page index and https://momentic.ai/docs/llms-full.txt for every page in one file.
> For an unattended setup, run `npx --yes @momentic/wizard@latest -y --platform web --editor-tools skills` (use `--platform ios` or `--platform android` for mobile). Never run an interactive command in a non-TTY shell.
> You cannot complete the browser sign-in yourself. Read the API key from the MOMENTIC_API_KEY environment variable, or ask the user to create one at https://app.momentic.ai/settings/api-keys and paste it back.
> Momentic's capability summary for agents is at https://momentic.ai/docs/skill.md. Install the skills with `npx skills@latest add momentic-ai/skills`.
> Tests are YAML files in the user's repository. Use only the step names listed at https://momentic.ai/docs/reference/commands.md and the file structure at https://momentic.ai/docs/core-concepts/file-format.md. Do not invent step names, config keys, or CLI flags.
> Web tests run on Chromium, iOS tests on simulators, and Android tests on emulators. Physical devices are not supported.

# mo archive

> Archive a Mo session you no longer need.

Move a finished session out of the active list. Archiving stops any running
work, tears down the session machine, and keeps the transcript and
[report](/docs/mo/reports) in the dashboard. The session stops accepting new
messages.

```bash theme={null}
mo archive <session-id>
```

## Arguments

<ParamField path="<session-id>" type="string" required>
  The session to archive.
</ParamField>

## Output

On success the command prints `Archived Mo session <session-id>.`

## Notes

* Only the user who started a session can archive it. Archiving someone else's
  session fails with a not-found error.
* Run your last [`mo download`](/docs/cli-reference/mo/commands/download) before
  archiving, because archiving removes the session machine.
* `mo send` to an archived session fails. Unarchive the session in the dashboard
  to continue it.
* Archiving does not stop a tunnel. Run
  [`mo tunnel stop`](/docs/cli-reference/mo/commands/tunnel) separately.
