# siteHost

<!-- https://uncage.vercel.app/docs/api/agent/functions/sitehost/ -->

```ts
function siteHost(url): string;
```

Defined in: agent/src/site.ts:52

`host[-port]` of a hub URL: the per-site workspace root `~/Uncage/<siteHost>/`.

## Parameters

| Parameter | Type |
| ------ | ------ |
| `url` | `string` |

## Returns

`string`
