get_full_url
get_full_url
Get the full URL for this agent’s endpoint. The URL is constructed from the agent’s
host, port, and route. In serverless environments, the URL is derived from
platform-specific environment variables. When behind a proxy, the
SWML_PROXY_URL_BASE environment variable or
manual_set_proxy_url()
takes precedence.
Parameters
include_auth
Whether to embed Basic Auth credentials in the URL (e.g.,
https://user:pass@host:port/route).
Returns
str — The fully constructed URL string.