Record object

Some methods of the API return one or more record objects, for example queryRecords.

Description

A record object includes these fields:

Name

Type

Description

uuid

string

The id of this record.

ownerId

string

The id of the user this record belongs to. It is a GUID, it is not the EmotivID of the user.

applicationId

string

The id of the application that created this record.

applicationVersion

string

The version of the application that created this record.

title

string

The title of this record.

description

string

The description of this record.

tags

array of strings

The tags associated to this record.

experimentId

number (integer)

The experiment id associated to this record.

startDatetime

string (ISO datetime)

When this record was created.

endDatetime

string (ISO datetime)

When this record was stopped.

licenseId

string

The id of the license used by this record.

licenseScope

array of strings

List of the data streams the license has access to.

The scope "eeg" gives access to the raw EEG data.

The scope "pm" gives access to the 2 hertz performance metrics.

subject

object

localOnly

boolean

If true then this record will not be uploaded to the EMOTIV cloud.

If false then it will be uploaded.

headbandPosition

string

This field was added in Cortex 2.4

Depending on how you get the record, it may contains an additional field for the markers:

Name

Type

Description

markers

array of objects

Examples

{
    "applicationId": "com.jon.snow.winterfell-app",
    "applicationVersion": "1.0",
    "description": "",
    "startDatetime": "2019-06-06T15:57:28.596410+07:00",
    "endDatetime": "2019-06-06T15:57:58.472229+07:00",
    "experimentId": 0,
    "licenseId": "xxx",
    "licenseScope": [
        "pm",
        "eeg"
    ],
    "localOnly": false,
    "markers": [
        {
            "endDatetime": "2019-06-06T15:57:33.523627+07:00",
            "extras": {},
            "label": "test1",
            "port": "Cortex Example",
            "startDatetime": "2019-06-06T15:57:33.523627+07:00",
            "type": "instance",
            "uuid": "3e8d3a26-f4bf-486c-8ece-6efb8b739a51",
            "value": 41
        },
        {
            "endDatetime": "2019-06-06T15:57:49.530743+07:00",
            "extras": {},
            "label": "test2",
            "port": "Cortex Example",
            "startDatetime": "2019-06-06T15:57:41.529661+07:00",
            "type": "interval",
            "uuid": "26fccfd8-e487-4623-910a-1ba8591fcdcf",
            "value": 42
        }
    ],
    "ownerId": "76c3468a-d9c0-428d-81b4-bdac5d63860e",
    "subject": {
        "subjectName": "Hodor"
    },
    "tags": ["snow", "cold", "winter"],
    "title": "Cortex Examples C++",
    "uuid": "db01c15e-d916-4a7b-9f1d-16295fd1c643"
}

Last updated