GET
/
auth
/
stats
/
recent-sign-ins
curl --request GET \
  --url https://api.pxyz.dev/api/v0/auth/stats/recent-sign-ins
[
  {
    "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"
  }
]

Query Parameters

tenantId
string
required

Response

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