querySessions

This method returns the list of the sessions created by the current application. You can create a session with createSession.

New in 2.0: Sessions are now temporary in-memory objects. So this methods only returns the current sessions, not your past sessions. See Sessions for details.

Parameters

Name

Type

Required

Description

cortexToken

string

yes

A token returned by authorize.

Result

The result is an array of session objects.

Example

{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "querySessions",
    "params": {
        "cortexToken": "xxx"
    }
}

Last updated