# `ReqManagedAgents.Evidence.Correlation`
[🔗](https://github.com/cash-mckeeman/req_managed_agents/blob/v0.13.0/req_managed_agents/lib/req_managed_agents/evidence/correlation.ex#L65)

An explicit relation supported by capture-local evidence record IDs.

# `relation`

```elixir
@type relation() ::
  :same_session | :parent | :tool_result_for | :application | :origin
```

# `t`

```elixir
@type t() :: %ReqManagedAgents.Evidence.Correlation{
  evidence_record_ids: [String.t()],
  from_record_id: String.t(),
  relation: relation(),
  target: ReqManagedAgents.Evidence.Correlation.Target.t()
}
```

# `new`

```elixir
@spec new(map()) :: {:ok, t()} | {:error, ReqManagedAgents.Evidence.Error.t()}
```

Validates relation/target shape; capture construction resolves record references.

---

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