# `OpenCode.Generated.SessionV2Info`
[🔗](https://github.com/UtkarshUsername/opencode-sdk-elixir/blob/v0.1.84/lib/opencode/generated/session_v2_info.ex#L1)

Provides struct and type for a SessionV2Info

# `t`

```elixir
@type t() :: %OpenCode.Generated.SessionV2Info{
  agent: String.t() | nil,
  cost: number(),
  id: String.t(),
  location: OpenCode.Generated.LocationRef.t(),
  model: OpenCode.Generated.SessionV2InfoModel.t() | nil,
  parent_id: String.t() | nil,
  project_id: String.t(),
  subpath: String.t() | nil,
  time: OpenCode.Generated.SessionV2InfoTime.t(),
  title: String.t(),
  tokens: OpenCode.Generated.SessionV2InfoTokens.t()
}
```

---

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