queryProfile

This method returns the list of all the training profiles of the user.

Parameters

Name

Type

Required

Description

cortexToken

string

yes

A token returned by authorize.

Result

The result is an array of objects , or an empty array if the user has no profile. Each object includes these fields:

uuid

string

The unique ID of this profile.

name

string

The name of the profile.

readOnly

boolean

If a headset is created before v3.6.5, the profile will become read-only when upgrading to v3.6.5. See readonly profile. This field is available since v3.6.5.

eegChannels

array

The list of EEG channels of a headset with which this profile can be loaded. For example, if eegChannels of a profile is ["AF3","T7","Pz","T8","AF4"], this profile can be loaded for Insight headset. This field is available since v3.6.5.

Example

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

Last updated