# engram recall

Source: https://usecns.dev/engram-cli-recall/

[Start here](https://usecns.dev/manual-engram/)
[CLI commands](https://usecns.dev/commands-engram/)
[Configuration & integration](https://usecns.dev/engram-topics/)

Find a saved rule by its exact key, or search with a natural-language query.

## Syntax

```
engram recall KEY_OR_QUERY [--session ID] [--workspace PATH] [--ote PATH] [--db PATH]
```

## Options

| Option | Meaning |
| --- | --- |
| `--query TEXT` | Alternative to the positional key/query. A query is required. |
| `--session ID` | Associate the recall with a session so a later outcome can be attributed to it. |
| `--workspace PATH` | Repeat to include explicitly selected workspace stores. Review each store's access boundary first. |
| `--ote PATH`, `--db PATH` | Select configuration and the primary store. |

## Examples

```
engram recall fixture-retry-rule --session synthetic-session
engram recall 'when is it safe to retry the synthetic fixture?'
```

## Results and side effects

Exact-key lookup precedes hybrid search. Without a session, no session-reach ledger row is recorded. Complete-key recalls can apply a premature-completion penalty even without a session: this is not a write-free search command.

Federated output tags results with `workspace` / `workspace_tag` and combines ranked hits; an exact match supplies `result` as well. Only the primary store receives the supplied session ID; additional workspace recalls do not establish session attribution there, but may still penalize complete-key recall. Review each store's authorization before selecting it.

Missing query fails. Configured remote retrieval may send query material out of the machine. After using a rule and observing the result, [record the outcome](https://usecns.dev/engram-cli-outcome/).

See [CLI conventions](https://usecns.dev/engram-cli-usage/) for shared configuration and exit behavior, or [browse all commands](https://usecns.dev/commands-engram/).