<!-- 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 rm
Delete a session or all memory for a flow
Delete a session or, with --flow and --all, delete all memory for a flow.
axiom memory rm <session-id> deletes a single session
axiom memory rm --flow <id> --all deletes all memory for the flowAll data is permanently deleted. Use --yes to skip the confirmation prompt.
Examples:
axiom memory rm 01HXYZ1234ABCDEF
axiom memory rm --flow my-flow-id --allUsage
axiom memory rm [<session-id>] [flags]Flags
| Flag | Shorthand | Type | Default | Description |
|---|---|---|---|---|
--all | bool | delete all memory for the specified flow | ||
--flow | string | flow ID (use with --all to delete all flow memory) | ||
--help | -h | bool | help for rm | |
--yes | bool | skip confirmation prompt |
See also
- axiom memory — Inspect and manage agent memory for your flows
- Guide: Inspect agent memory