rosebud whoami

Show whether the login is active, and your credit balance.

rosebud whoami
{
    "login_id": "2d9e...",
    "status": "active",
    "client": "claude-code",
    "name": "Claude Code",
    "scopes": ["assets:read", "assets:write", "games:write"],
    "expires_at": "2027-01-25T18:04:11Z",
    "account": { "display_name": "Sam", "balance": 12400 }
}
statusMeaning
pendingWaiting for approval. The approval_url is shown again.
activeReady to make assets.
expiredNot approved in time, or unused for 90 days. Run rosebud login.
revokedDisconnected on Connected agents or by logout. Run rosebud login.

balance is a number, or "unlimited" on plans without a credit limit. With no login on this computer, whoami fails with login_required (exit 2).

expires_at is the approval deadline while pending, then 90 days after the login's last use. A command that fails with key_expired needs rosebud login again; one that fails with insufficient_scope needs rosebud logout, then rosebud login.