# ResolvedEndpoint

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/tui/widgets/auth/ResolvedEndpoint)

Outcome of resolving the region selector to an endpoint to persist.

`endpoint` is the canonical URL to store (empty for the US SaaS default);
`error` is a user-facing message when a Custom URL is missing or malformed,
in which case `endpoint` is empty and nothing should be saved.

## Signature

```python
ResolvedEndpoint()
```

## Extends

- `NamedTuple`

## Properties

- `endpoint`
- `error`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/7794b61a6e76230e8c7a49bdce808b3728305914/libs/code/deepagents_code/tui/widgets/auth.py#L129)