Skip to main content
POST
/
core.v1.SessionsService
/
ListSessionsV2
cURL
curl -X POST "https://api.joinformal.com/core.v1.SessionsService/ListSessionsV2" \
  -H "X-API-KEY: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "example": "value"
  }'
{
  "sessions": [
    {
      "id": "<string>",
      "startTime": "2023-11-07T05:31:56Z",
      "endTime": "2023-11-07T05:31:56Z",
      "duration": "<string>",
      "sessionStatus": "active",
      "network": {
        "clientIpAddress": "<string>",
        "serverIpAddress": "<string>"
      },
      "sidecar": {
        "id": "<string>",
        "name": "<string>",
        "technology": "<string>"
      },
      "user": {
        "type": "<string>",
        "username": "<string>",
        "formal": {
          "user": {
            "id": "<string>",
            "name": "<string>",
            "email": "<string>",
            "type": "<string>",
            "groups": [
              "<string>"
            ],
            "externalIds": [
              "<string>"
            ]
          },
          "endUser": {
            "id": "<string>",
            "name": "<string>",
            "email": "<string>",
            "type": "<string>",
            "groups": [
              "<string>"
            ],
            "externalIds": [
              "<string>"
            ]
          }
        },
        "native": {
          "username": "<string>"
        }
      },
      "resource": {
        "type": "<string>",
        "id": "<string>",
        "name": "<string>",
        "technology": "<string>"
      },
      "connector": {
        "id": "<string>",
        "name": "<string>"
      }
    }
  ],
  "listMetadata": {
    "after": "<string>",
    "before": "<string>",
    "count": 123,
    "nextCursor": "<string>"
  }
}

Authorizations

X-API-KEY
string
header
required

API key authentication. Get your API key from the Formal console.

Body

application/json
limit
integer<int32>
Required range: x <= 100000
query
string
sortBy
string
startTimestamp
string
endTimestamp
string
cursor
string

Response

Success

sessions
SessionObject · object[]
listMetadata
list_metadata · object