List Sessions
List the browser and stx CLI sessions signed in to your account.
Returns every live session on your account — each signed-in browser and each stx login — with the current session first, then the most recently used. Use it to spot a sign-in you don't recognise, then revoke it.
Requires a session JWT — a dashboard session or an stx login token. API keys are rejected with 401. You only ever see your own sessions. Any plan.
Session fields
idsid claim.kindbrowser for a dashboard sign-in, cli for an stx login token.name"Chrome · macOS", or "Unknown browser" when the browser can't be recognised. CLI sessions are "stx CLI", or "stx CLI · macOS" when the client sends a stx/<version> (<platform>; <arch>) user agent.detail"Web dashboard · <ip>" for browsers. For the CLI, "stx <version>" when the client sent its version, otherwise "stx CLI · <ip>". The address is left out when it isn't known.userAgentipcreatedAtlastUsedAtlastActiveAtlastUsedAt.currenttrue for the session that made this request.stx CLI tokens issued before sessions existed don't appear in this list. They are signed out by Revoke Other Sessions, a password change, or signing out everywhere — see Sessions.
Error Responses
401 Unauthorized
Returned with unauthorized when the Authorization header is missing, the token is invalid or expired, or you sent an API key. Returned with session_revoked when the session behind the token has been signed out: