# `A2A.Task.Status`
[🔗](https://github.com/actioncard/a2a-elixir/blob/main/lib/a2a/task/status.ex#L1)

The current status of a task, including state, optional message, and timestamp.

# `state`

```elixir
@type state() ::
  :submitted
  | :working
  | :input_required
  | :completed
  | :canceled
  | :failed
  | :rejected
  | :auth_required
  | :unknown
```

# `t`

```elixir
@type t() :: %A2A.Task.Status{
  message: A2A.Message.t() | nil,
  state: state(),
  timestamp: DateTime.t()
}
```

# `new`

```elixir
@spec new(state(), A2A.Message.t() | nil) :: t()
```

Creates a new status with the given state and current timestamp.

---

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