# `DocRaptor.Status`
[🔗](https://github.com/ruskenberry/docraptor/blob/v0.1.2/lib/doc_raptor/status.ex#L1)

Status of an async job, or the JSON payload from a hosted sync create.

- `:status` — `:queued` | `:working` | `:completed` | `:failed` (or nil for some hosted sync payloads)
- `:download_id` / `:download_url` — set when ready (hosted URLs are public)
- `:number_of_pages`, `:message`, `:validation_errors` — as returned by DocRaptor

# `status`

```elixir
@type status() :: :queued | :working | :completed | :failed | atom() | nil
```

# `t`

```elixir
@type t() :: %DocRaptor.Status{
  download_id: String.t() | nil,
  download_url: String.t() | nil,
  message: String.t() | nil,
  number_of_pages: non_neg_integer() | nil,
  status: status(),
  validation_errors: String.t() | nil
}
```

---

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