# slick workspace

List configured workspace profiles. Workspace identity is managed by [`auth`](<https://matcra587.github.io/slack-cli/auth/index.md>); `config` manages preferences. `workspace` is a read-only view.

```
slick workspace list  List configured workspaces
```

## workspace list

```
slick workspace list
slick workspace list --output=json
```

Profiles appear in stable, case-sensitive name order in every output mode. Listing reads configuration only; it does not resolve credentials or call Slack. The selected profile must still be valid, using the same `--workspace`, environment, and default-profile rules as other workspace commands.

### Output

Human (a primer table):

```
PROFILE   WORKSPACE     NAME              TOKEN
default   T123ABC456    Example Inc       user
staging   T987XYZ123    Example Staging   bot
```

`PROFILE` and `WORKSPACE` (`team_id`) hash-colour as identity fields.

JSON data excerpt:

```
{
  "data": {
    "workspaces": [
      {
        "name": "default",
        "team_id": "T123ABC456",
        "team_name": "Example Inc",
        "token_type": "user",
        "token_ref": "keychain:slack-cli/default",
        "attribution": {"enabled": true}
      },
      {
        "name": "staging",
        "team_id": "T987XYZ123",
        "team_name": "Example Staging",
        "token_type": "bot",
        "token_ref": "keychain:slack-cli/staging",
        "attribution": {"enabled": false}
      }
    ]
  }
}
```

`token_ref` is a credential-store pointer (e.g. `keychain:slack-cli/<profile>` or `env:SLACK_TOKEN`) — the raw token never appears in the envelope. `attribution.enabled` reflects the persistent default for that workspace; see [Config](<https://matcra587.github.io/slack-cli/config/index.md>) to change it.

The `default` workspace is the one selected when no `--workspace` flag is passed; change it with [`auth switch`](<https://matcra587.github.io/slack-cli/auth/index.md#auth-switch>) or `slick config set default_workspace <name>`.

## See also

- [`auth status`](<https://matcra587.github.io/slack-cli/auth/index.md#auth-status>) — see auth state of each workspace.
- [`auth switch`](<https://matcra587.github.io/slack-cli/auth/index.md#auth-switch>) — change the default workspace.
- [`config`](<https://matcra587.github.io/slack-cli/config/index.md>) — workspace-scoped preferences.
