# `Codex.Items.GhostSnapshot`
[🔗](https://github.com/nshkrdotcom/codex_sdk/blob/v0.18.1/lib/codex/items.ex#L445)

Raw response item describing a ghost snapshot captured for undo.

# `t`

```elixir
@type t() :: %Codex.Items.GhostSnapshot{
  ghost_commit: map(),
  id: String.t() | nil,
  type: :ghost_snapshot
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
