# `Jidoka.Review.Request`
[🔗](https://github.com/agentjido/jidoka/blob/v0.9.0/lib/jidoka/review/request.ex#L1)

Application-facing request for human review of an interrupted operation.

# `t`

```elixir
@type t() :: %Jidoka.Review.Request{
  agent_id: binary(),
  arguments: map(),
  boundary: :operation,
  created_at_ms: nil | nil | integer(),
  expires_at_ms: nil | nil | integer(),
  id: binary(),
  interrupt_id: binary(),
  metadata: map(),
  operation: binary(),
  reason: any(),
  request_id: binary()
}
```

# `from_input`

```elixir
@spec from_input(t() | keyword() | map()) :: {:ok, t()} | {:error, term()}
```

Normalizes an existing request, keyword list, or map.

# `from_interrupt`

```elixir
@spec from_interrupt(Jidoka.Review.Interrupt.t()) :: {:ok, t()} | {:error, term()}
```

Projects a runtime interrupt into a public review request.

# `from_interrupt!`

```elixir
@spec from_interrupt!(Jidoka.Review.Interrupt.t()) :: t()
```

Projects a runtime interrupt and raises if its data is invalid.

# `new`

```elixir
@spec new(keyword() | map()) :: {:ok, t()} | {:error, term()}
```

Builds a review request from keyword or map attributes.

# `new!`

```elixir
@spec new!(keyword() | map()) :: t()
```

Builds a review request and raises if the attributes are invalid.

# `schema`

```elixir
@spec schema() :: Zoi.schema()
```

Returns the Zoi schema for a public review request.

---

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