General Input
Workspace

geni workspace list

List every workspace your account belongs to, with the active one marked.

geni workspace list [flags]

Prints every workspace the authenticated account is a member of. The active workspace is marked with *.

Synopsis

geni workspace list
geni workspace list --json
FlagNotes
--jsonMachine-readable output.

Output

  SLUG          NAME                   ROLE      MEMBERS
* acme          Acme Inc.              admin     12
  personal      Personal               owner     1
  client-co     ClientCo (consulting)  member    3

The active workspace is the one prefixed with *. Switch with geni workspace switch <slug>.

Output (--json)

{
  "active": "acme",
  "workspaces": [
    {
      "slug": "acme",
      "name": "Acme Inc.",
      "id": "org_01HX…",
      "role": "admin",
      "memberCount": 12
    },
    {
      "slug": "personal",
      "name": "Personal",
      "id": "org_01HY…",
      "role": "owner",
      "memberCount": 1
    },
    {
      "slug": "client-co",
      "name": "ClientCo (consulting)",
      "id": "org_01HZ…",
      "role": "member",
      "memberCount": 3
    }
  ]
}

Exit codes

CodeMeaning
0Returned
78Runner session missing or expired
125Network or server error

On this page