Results & Response — Schemas
SegmentResult Schema
The structure of each time-aligned segment.
Field reference
| Field | Type | Description |
|---|---|---|
| start | float | Segment start time in seconds. |
| end | float | Segment end time in seconds. |
| text | string | Transcript text for this segment. |
| speaker | string|null | Speaker label. Present when enable_diarization=true. |
| emotion | string|null | Detected emotion. Present when enable_emotion_diarization=true. NOT in nlp_analysis. |
| words | array|null | Per-word timestamps (word, start, end, score). Present when word_timestamps=true. |
Important:
emotion lives in segments[] — it is NOT in nlp_analysis.