> 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. # getFullUrl > Get the full URL for this agent's endpoint, including host, port, and route. [manual-set-proxy-url]: /docs/server-sdks/reference/typescript/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. When behind a proxy, the `SWML_PROXY_URL_BASE` environment variable or [`manualSetProxyUrl()`][manual-set-proxy-url] takes precedence. ## **Parameters** **`includeAuth`** `boolean` — default: false Whether to embed Basic Auth credentials in the URL (e.g., `https://user:pass@host:port/route`). --- ## **Returns** `string` -- The fully constructed URL string. ## **Example** ```typescript {6} import { AgentBase } from '@signalwire/sdk'; const agent = new AgentBase({ name: 'support', route: '/support', port: 3000 }); agent.setPromptText('You are a helpful assistant.'); const url = agent.getFullUrl(); console.log(url); // http://localhost:3000/support const urlWithAuth = agent.getFullUrl(true); console.log(urlWithAuth); // http://user:pass@localhost:3000/support ``` > Get the full URL for this agent's endpoint, including host, port, and route.