# `Aludel.Runs.RunResult`
[🔗](https://github.com/ccarvalho-eng/aludel/blob/main/lib/aludel/runs/run_result.ex#L1)

Schema for run results.

A run result captures the output and metrics from executing a run
against a specific provider.

# `t`

```elixir
@type t() :: %Aludel.Runs.RunResult{
  __meta__: term(),
  completed_at: term(),
  cost_usd: term(),
  error: term(),
  id: term(),
  input_tokens: term(),
  inserted_at: term(),
  latency_ms: term(),
  output: term(),
  output_tokens: term(),
  provider: term(),
  provider_id: term(),
  run: term(),
  run_id: term(),
  started_at: term(),
  status: term(),
  updated_at: term()
}
```

# `changeset`

```elixir
@spec changeset(t(), map()) :: Ecto.Changeset.t()
```

Changeset for creating or updating a run result.

Validates that run_id, provider_id, and status are present.

---

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