Skip to main content
GET
/
auth
/
sessions
List the caller's active sessions
curl --request GET \
  --url https://api.mnemom.ai/v1/auth/sessions \
  --cookie mnemom_session=
{
  "sessions": [
    {
      "sid": "<string>",
      "device_label": "<string>",
      "issued_at": "2023-11-07T05:31:56Z",
      "last_seen_at": "2023-11-07T05:31:56Z",
      "is_current": true,
      "same_network_as_current": true
    }
  ]
}

Authorizations

mnemom_session
string
cookie
required

HttpOnly, Secure, SameSite=Lax cookie issued by /v1/auth/sign-in (or the SSO / email-callback flows). The value is an AES-256-GCM-encrypted blob of {access_token, refresh_token, issued_at, auth_method}. Browser clients include this automatically with credentials: "include".

Response

Active sessions for the current user.

sessions
object[]
required