# `Ory.Api.Elements`

API calls for all endpoints tagged `Elements`.

# `get_configuration`

```elixir
@spec get_configuration(
  Tesla.Env.client(),
  keyword()
) ::
  {:ok, Ory.Model.GenericError.t()}
  | {:ok, Ory.Model.ElementsConfiguration.t()}
  | {:error, Tesla.Env.t()}
```

Get Ory Elements configuration
Returns a subset of the project's configuration for the given host. The response only contains non-sensitive data that is used to customize the behavior of Ory Elements.

### Parameters

- `connection` (Ory.Connection): Connection to server
- `opts` (keyword): Optional parameters

### Returns

- `{:ok, Ory.Model.ElementsConfiguration.t}` on success
- `{:error, Tesla.Env.t}` on failure

---

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