# `Scrypath.Operator.RecoveryAction`
[🔗](https://github.com/szTheory/scrypath/blob/v0.3.5/lib/scrypath/operator/recovery_action.ex#L1)

Explicit recovery action used by Scrypath operator APIs.

Recovery actions are opt-in. They carry the stable references needed to route
retries, backfills, or reindexes through existing Scrypath write paths rather
than backend-native admin commands.

# `t`

```elixir
@type t() :: %Scrypath.Operator.RecoveryAction{
  backend: module(),
  index: String.t() | nil,
  kind: :retry | :backfill | :reindex,
  mode: :inline | :manual | :oban | atom(),
  operation: :upsert | :delete | :unknown,
  reference: map(),
  schema: module()
}
```

# `new`

```elixir
@spec new(keyword()) :: t()
```

# `retry`

```elixir
@spec retry(
  Scrypath.Operator.FailedWork.t() | t(),
  keyword()
) :: {:ok, map()} | {:error, term()}
```

---

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