# `SquidMesh.Run`
[🔗](https://github.com/ccarvalho-eng/squid_mesh/blob/main/lib/squid_mesh/run.ex#L1)

Public representation of a workflow run.

This struct keeps the library-facing API focused on workflow concepts rather
than exposing the underlying persistence schema directly.

# `status`

```elixir
@type status() ::
  :pending
  | :running
  | :retrying
  | :paused
  | :failed
  | :completed
  | :cancelling
  | :cancelled
```

# `t`

```elixir
@type t() :: %SquidMesh.Run{
  audit_events: term(),
  context: term(),
  current_step: term(),
  id: term(),
  inserted_at: term(),
  last_error: term(),
  payload: term(),
  replayed_from_run_id: term(),
  status: term(),
  step_runs: term(),
  steps: term(),
  trigger: term(),
  updated_at: term(),
  workflow: term()
}
```

---

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