> ## Documentation Index
> Fetch the complete documentation index at: https://sdk.docs.xano.com/llms.txt
> Use this file to discover all available pages before exploring further.

# npx @xano/sdk site list

> List the workspace's sites: each one's addresses, Dev and Prod when it has both, the build each serves, and which one this project names.

## Usage

```bash theme={null}
npx @xano/sdk site list [options]
```

## Backends

| Slot | Accepts | When omitted |
| - | - | - |
| `--on` | workspace, ephemeral, ephemeral:\<name>, local, local:\<name>, or tenant:\<name> | Nothing: name one |

## Flags

| Flag | Description |
| - | - |
| `--on <backend>` | Read this backend's sites instead of your workspace's: workspace, ephemeral, ephemeral:\<name>, local, local:\<name>, or tenant:\<name> |
| `--origin <origin>` | Xano OAuth host for `login` and a XANO\_REFRESH\_TOKEN exchange (default: \$XANO\_ORIGIN) |
| `--config <path>` | Explicit credential file (default: \$XANO\_CONFIG) |
| `--local-auth` | Use the project-local ./.xano/auth.json instead of the shared cache |

Global flags are listed in the [CLI overview](https://sdk.docs.xano.com/reference/cli.md).

***

*Generated from @xano/sdk 1.0.34.*


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.