# tmux_snapshot:query_metadata/0

- **Package:** libtmux_erlang
- **Language:** Erlang
- **Kind:** typealias
- **Source:** https://github.com/libtmux/libtmux-erlang/blob/d1b6308440cf9eb8f6647e7ae434bce60e849368/apps/libtmux_erlang/src/tmux_snapshot.erl#L62
- **Page:** https://libtmux.org/en/erlang/latest/reference/t-tmux_snapshot-query_metadata-0/

```
-type query_metadata() ::
          #{candidate_count := non_neg_integer(),
            pushed_down := boolean(),
            attempt := 1 | 2,
            consistency := observed}.
```

Source-query capture diagnostics. candidate_count is the deduplicated candidate identity count before local residuals and limits. pushed_down records a nontrivial native condition in the plan, not proof that its command ran: empty collections can skip it. source_calls records actual capture commands. The flag does not mean the full predicate was translated. attempt starts at one and increases only for an explicitly requested retry.
