| Name | Type | Description |
|---|---|---|
value* | str | A region alias, a full endpoint URL, or an empty string. |
Resolve a LangSmith endpoint shorthand to its canonical URL.
Maps the case-insensitive region aliases us/eu to the LangSmith SaaS
endpoints so the CLI --base-url flag and the TUI /auth prompt share one
decode. Any other non-empty value is returned stripped and unchanged (a
self-hosted or proxied URL); empty input returns an empty string.