Skip to content

slick workspace

List configured workspace profiles. Workspace identity is managed by auth; 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

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 envelope:

{
  "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 to change it.

The default workspace is the one selected when no --workspace flag is passed; change it with auth switch or slick config set default_workspace <name>.

See also