Skip to main content

List sessions

get/v1/sessions

Authorization

  • Authorizationstringheaderrequired

    Key in the format Bearer <API-key>. Create a key on the API keys page.

Response

  • Array [
  • browserstring

    Browser

    Example: Chrome
    browser_versionstring

    Browser version

    client_typestring

    Client type: web, cli or desktop

    Possible values: [web, cli, desktop]

    Example: web
    client_versionstring

    cli/desktop client version

    country_codestring

    Country code

    Example: RU
    country_namestring

    Country

    Example: Russia
    created_atstring<date-time>

    Creation date

    currentboolean

    Whether this is the current session

    devicestring

    Device name

    Example: MacBook Pro
    hostnamestring

    Name of the machine signed in from cli/desktop

    idinteger<int64>

    Session ID

    last_seen_atstring<date-time>

    Last seen date

    osstring

    OS

    Example: macOS
    os_versionstring

    OS version

    remote_addressstring

    Address the session was created from

    Example: 203.0.113.10
    sudo object
    expires_atstring<date-time>

    Time the verification expires

    typestring

    Method the session was verified with

    Possible values: [totp, recovery_code, email_code, passkey]

    Example: totp
    verified_atstring<date-time>

    Verification time

    team object
    idinteger<int64>

    Team ID

    Example: 7
    namestring

    Name

    Example: Acme Inc
    slugstring

    Team slug, used as the suffix of dynamic subdomains

    Example: acme
    typestring

    Type

    Possible values: [personal, pro]

    Example: pro
    updated_atstring<date-time>

    Update date

  • ]