cs whoami

Show the signed-in user, the organization every cs command acts on, and what you may do there.

cs whoami prints the user id behind the stored session, the active organization with your role in it, what you hold there, and any other organizations you belong to. Account commands act on the active organization.

Usage

cs whoami
Output
  userId: user_01J…
  org:    org_01J… (Acme) [admin]
  permissions: members:manage, org:settings, billing:manage, connections:org, keys:org, agents:manage, agents:transfer, approvals:policy, activity:org, memory:review
  credential:  session
  key ceiling: members:manage, org:settings, billing:manage, connections:org, keys:org, agents:manage, agents:transfer, approvals:policy, activity:org, memory:review
  other orgs:
    org_01K… (Side project) [member]

The role in brackets is a label. What you may do in the organization is permissions — the slugs your role holds, (none) for a member. key ceiling is the most a key you mint with cs keys create --permission may carry; for a signed-in session it is what you hold. (unknown) means CoreSpeed could not read it right now.

You choose the active organization when you sign in and change it with cs switch.

On this page