---
title: "axiom memory end"
description: "Close a session and trigger memory consolidation"
category: reference
surfaces: [cli]
related: [reference/cli/axiom-memory, guides/inspect-agent-memory]
last_reviewed: 2026-06-06
---

<!-- GENERATED by docs/scripts/gen-cli-reference — DO NOT EDIT.
     Source of truth: the cobra command definitions in cmd/axiom/cmd/.
     Regenerate from the repo root with: go run ./docs/scripts/gen-cli-reference -->

# axiom memory end

Close a session and trigger memory consolidation

Formally closes a session and enqueues it for memory consolidation.

Consolidation extracts semantic facts from the conversation history.
This is a non-destructive operation — the history remains accessible.

Use --yes to skip the confirmation prompt.

Example:
```text
axiom memory end 01HXYZ1234ABCDEF
```

## Usage

```sh
axiom memory end <session-id> [flags]
```

## Flags

| Flag | Shorthand | Type | Default | Description |
|---|---|---|---|---|
| `--help` | `-h` | bool |  | help for end |
| `--yes` |  | bool |  | skip confirmation prompt |

## See also

- [axiom memory](./axiom-memory.md) — Inspect and manage agent memory for your flows
- Guide: [Inspect agent memory](../../guides/inspect-agent-memory.md)
