Emotion detection
Capture per-emotion confidence scores from Pulse STT responses.
Pre-Recorded
Enabling emotion detection
Include emotion_detection=true in your Pulse STT query parameters.
Sample request
For emotion detection on pre-recorded audio, use Pulse (?model=pulse, emotion_detection=true) - the flat 5-class shape documented below (no neutral). For emotion detection on streaming audio, use Pulse 2.0 (?model=pulse-2, emotion_detection=true by default) - a differently-shaped emotion object per final, with 6 classes (adds neutral), a confidence score, and the full score distribution.
Output format & field of interest
The response adds an emotions object containing floating-point scores (0–1) for happiness, sadness, disgust, fear, and anger. Use these fields to monitor sentiment, trigger QA alerts, or enrich customer analytics.