Channel: Session Emotions Counts
Receive periodical updates about the number of emotions detected in a session during the given period (e.g. if you specify a frequency of 5s, each event will contain the emotions detected during the last 5 seconds).
Channel
Name
session_emotions_countsKey Template
sessionId:frequencyEvents Type
secKey Parameters
sessionId
string
ID of the session do you want to track emotions from.
Example:
66151895e00a857bd76f889dfrequency
enum ChannelUpdateFrequency
How often you want to receive updates with the information from the last event.
Possible enum values
1sEach second
3sEach 3 seconds
5sEach 5 seconds
10sEach 10 seconds
30sEach 30 seconds
1mEach minute
5mEach 5 minutes
10mEach 10 minutes
Example:
10sKey example
66151895e00a857bd76f889d:10sEvent fields
EMOTION_COUNTS
object
Key-value object containing the times each emotion was detected
Event data structure
session_emotions_counts event structure
[
SUBSCRIPTION_ID,
EVENT_TIMESTAMP,
"sec",
[
EMOTION_COUNTS
]
]
Event example
session_emotions_counts event example
[
"luug96xrbbc594",
"2024-04-14T23:00:30.000Z",
"sec",
[
{
"exaltation": 3,
"focus": 5,
"shock": 1
}
]
]