# `LlmCall.EncodedRequest`
[🔗](https://github.com/gilbertwong96/llm_call/blob/main/lib/llm_call/encoded_request.ex#L1)

A request rendered into one protocol's wire shape.

`body` is a JSON-compatible term, not an encoded JSON string. Headers carry
protocol facts only; the transport adds credentials and the base URL.

# `t`

```elixir
@type t() :: %LlmCall.EncodedRequest{
  body: map(),
  headers: [{String.t(), String.t()}],
  method: :post | :get,
  path: String.t(),
  query: %{optional(String.t()) =&gt; String.t() | integer() | boolean()}
}
```

---

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