VirtuousAI
ReferenceV1

List Sessions

List sessions for the current user.

GET
/api/v1/sessions

Query Parameters

includeRevoked?boolean
Defaultfalse
limit?integer
Default50
Range1 <= value <= 200
cursor?|

Header Parameters

authorization?|
X-API-Key?|
vai_token?|

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/sessions"
{
  "items": [
    {
      "browserFamily": "string",
      "browserVersion": "string",
      "cliVersion": "string",
      "clientType": "web",
      "createdAt": "2019-08-24T14:15:22Z",
      "deviceId": "string",
      "id": "string",
      "ipAddress": "string",
      "isActive": true,
      "lastActiveAt": "2019-08-24T14:15:22Z",
      "osFamily": "string",
      "osVersion": "string",
      "revokedAt": "2019-08-24T14:15:22Z",
      "terminal": "string",
      "userAgent": "string"
    }
  ],
  "nextCursor": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}