Skip to Content
Docs

Page sessions

POST
/$page/sessions

Authorization

jwt
headerAuthorizationBearer <JWT>

Header Parameters

x-org-id*string

Request Body

application/json
  1. body
pageToken?string
Length1 <= length
orderBy?string|array<string>
fields?string|array<string>
pageSize?integer
Range0 <= value <= 9007199254740991
includeTotal?boolean
filterMode?string|string

Response Body

application/json
  1. response
items*array<>
nextPageToken?string
totalCount?integer
Example Request
curl -X POST 'https://logs.your-tenant-id.my.contextual.io/api/v1/$page/sessions' \  -H 'x-org-id: string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "items": [    {      "source": "string",      "sessionId": "string",      "correlationId": "string",      "kind": "trigger",      "subKind": "string",      "typeId": "string",      "instanceId": "string",      "startedAt": "2019-08-24T14:15:22Z",      "endedAt": "2019-08-24T14:15:22Z",      "createdAt": "2026-11-15T21:30:33.351Z",      "updatedAt": "2019-08-24T14:15:22Z",      "_metaData": {        "id": "string",        "createdAt": "2019-08-24T14:15:22Z",        "updatedAt": "2019-08-24T14:15:22Z"      }    }  ],  "nextPageToken": "string",  "totalCount": 0}