> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # get_full_url > Get the full URL for this agent's endpoint, including host, port, and route. [manual-set-proxy-url]: /docs/server-sdks/reference/python/agents/agent-base/manual-set-proxy-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()`][manual-set-proxy-url] takes precedence. ## **Parameters** **`include_auth`** `bool` — default: False Whether to embed Basic Auth credentials in the URL (e.g., `https://user:pass@host:port/route`). --- ## **Returns** `str` -- The fully constructed URL string. ## **Example** ```python {5,8} from signalwire import AgentBase agent = AgentBase(name="support", route="/support", port=3000) agent.set_prompt_text("You are a helpful assistant.") url = agent.get_full_url() print(url) # http://0.0.0.0:3000/support url_with_auth = agent.get_full_url(include_auth=True) print(url_with_auth) # http://user:pass@0.0.0.0:3000/support ``` > Get the full URL for this agent's endpoint, including host, port, and route.