# `Spectre.Server.Context`
[🔗](https://github.com/elchemista/spectre/blob/0.4.0/lib/spectre/server/context.ex#L1)

Application view of a Server dispatch.

`assigns`, process-local `private` data and commands added by the Server
helpers are acquired on return. `private` may hold timer/monitor references
and actor handles; it is never checkpointed or sent to cognitive services.
Identity, session, input and pending fields are read-only views. The dispatch
token detects accidentally returning a context from another callback; it is
not a security boundary against code in the same BEAM process.

# `t`

```elixir
@type t() :: %Spectre.Server.Context{
  agent: term(),
  assigns: term(),
  commands: term(),
  dispatch_token: term(),
  identity: term(),
  input: term(),
  interaction: term(),
  memory: term(),
  pending: term(),
  pending_by_id: term(),
  private: term(),
  routing: term(),
  session: term(),
  skill: term()
}
```

---

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