# `Pixir.Providers.ResponsesBackend`
[🔗](https://github.com/Ranvier-Technologies/pixir/blob/main/lib/pixir/providers/responses_backend.ex#L1)

Opaque policy for the Responses dialect backend selected for one request.

The value contains selection policy, not credentials. Diagnostic and `Inspect`
projections deliberately expose only `summary/1`; endpoint values and future
secret-bearing fields never leave the request-selection boundary.

# `t`

```elixir
@opaque t()
```

Opaque Responses backend selection.

# `activation_status`

```elixir
@spec activation_status(t()) :: :ok | {:error, map()}
```

Return whether production use is active for this staged backend.

# `auth_policy`

Credential policy descriptor. No credential value is stored here.

# `default`

```elixir
@spec default() :: t()
```

Default ChatGPT/Codex backend policy used by the legacy Responses path.

# `endpoint`

Endpoint descriptor. The endpoint value is request-internal and must not be logged.

# `explicit?`

Whether the backend came from an explicit descriptor.

# `mode`

Selected backend mode.

# `request_extensions`

Typed optional request-extension capabilities.

# `resolve`

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

Validate and normalize an explicit backend descriptor.

# `safe_summary`

```elixir
@spec safe_summary(term()) :: map() | :invalid
```

Total, redacted projection for diagnostic and `Inspect` boundaries.

# `source`

Selection source.

# `summary`

```elixir
@spec summary(term()) :: map() | :invalid
```

Total, redacted, JSON-friendly diagnostic projection.

# `transports`

Ordered transport capabilities.

---

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