Skip to main content

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_counts

Key Template

sessionId:frequency

Events Type

sec

Key Parameters

sessionId
string
ID of the session do you want to track emotions from.
Example: 66151895e00a857bd76f889d
frequency
enum ChannelUpdateFrequency
How often you want to receive updates with the information from the last event.
Possible enum values
1s
Each second
3s
Each 3 seconds
5s
Each 5 seconds
10s
Each 10 seconds
30s
Each 30 seconds
1m
Each minute
5m
Each 5 minutes
10m
Each 10 minutes
Example: 10s

Key example

66151895e00a857bd76f889d:10s

Event 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
}
]
]