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

# Workspaces

> Switch and list workspaces

**Alias:** `cnap ws`

The active workspace is sent with every API request via the `X-Workspace-Id` header.

## List workspaces

```bash theme={null}
cnap workspaces list
```

## Switch workspace

```bash theme={null}
# Interactive picker
cnap workspaces switch

# By ID
cnap workspaces switch <workspace-id>
```

If no ID is given, an interactive picker lets you choose from your workspaces.
