GET
/
auth
/
sessions
/
{id}
curl --request GET \
  --url https://api.pxyz.dev/api/v0/auth/sessions/{id}
{
  "id": "<string>",
  "browser": "<string>",
  "device": "<string>",
  "engine": "<string>",
  "os": "<string>",
  "cpu": "<string>",
  "ua": "<string>",
  "ip": "<string>",
  "tenantId": "<string>",
  "userId": "<string>",
  "user": "<any>",
  "signInAttemptId": "<string>",
  "signInAttempt": {
    "id": "<string>",
    "tenantId": "<string>",
    "userId": "<string>",
    "ipAddress": "<string>",
    "userAgent": "<string>",
    "identifier": "<string>",
    "status": "<string>",
    "strategy": "<string>",
    "oauthProviderId": "<string>",
    "oauthProvider": {
      "id": "<string>",
      "tenantId": "<string>",
      "providerKey": "google",
      "enabled": true,
      "useCustomCredentials": true,
      "clientId": "<string>",
      "redirectUri": "<string>",
      "additionalScopes": "<any>",
      "authenticatable": true,
      "autoConnectAccounts": true,
      "config": "<any>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    },
    "user": "<any>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  },
  "signUpAttemptId": "<string>",
  "signUpAttempt": {
    "id": "<string>",
    "tenantId": "<string>",
    "userId": "<string>",
    "user": "<any>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  },
  "expiresAt": "2023-11-07T05:31:56Z",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Path Parameters

id
string
required

Response

200
application/json
Successful response
id
string
required
tenantId
string
required
userId
string
required
expiresAt
string
required
createdAt
string
required
updatedAt
string
required
browser
string | null
device
string | null
engine
string | null
os
string | null
cpu
string | null
ua
string | null
ip
string | null
user
any
signInAttemptId
string | null
signInAttempt
object | null
signUpAttemptId
string | null
signUpAttempt
object | null