Lynxin Affect report fields
Field reference for the signal report (model1, which is also what GET /v1/rdp/{session_id}/report returns). The tables follow the platform's field definitions and currently match signal report version 1.0.
How to read a report
- Read the report's
schema_versionfirst and parse by that version. When the platform only adds fields or values, the major version stays the same, so ignore fields you don't recognise and show unknown values as they are instead of failing. Compare version numbers segment by segment as integers, not as strings. - The tables list only fields the platform returns today. Fields marked as conditional may be missing, so check before reading them. Don't rely on fields that aren't listed here.
- A missing field and a field whose value is
nullare different. Gaps on the timeline arenull: leave them empty when you draw a chart, and don't fill them with 0. - Scores use three scales — 0–1, 0–10 and 0–100. Each field's range is in the table; check it before you display a value.
- Fallbacks for curve metadata.
indicator_meta.labelmay be the indicator key rather than a display name, so be ready to show the key or use your own name for it;rangemay be omitted; if so, you can use the value range documented in the data dictionary, and scale to the data only if the dictionary doesn't give one; aunitofvaluemeans the unit isn't standardized yet, so don't show it as a unit;basic_info.start_tsmay be0ornull, so don't convert times from it; ifdegrade_reasonscontainssignal_quality_unknown, on-device capture quality couldn't be assessed, andquality.degradedmay still befalse. capabilitiesdescribes each module:supportedisfalsewhen the capability isn't offered, which doesn't mean nothing was found;availableisfalsewhen there is no data this time, andreasonsays why.
| Reason code | Meaning |
|---|---|
no_signal_data | No signal data in this session |
no_visual_emotion_distribution | No visual emotion distribution data in this session |
audio_not_extracted_or_no_speech | One of two things: audio extraction hasn't been run (by default, the Lynxin Affect report doesn't include audio analysis, so this isn't an error), or there was no speech in the recording |
baseline_deviation_not_implemented | The report doesn't currently include anomaly periods |
baseline_patterns_not_implemented | The report doesn't currently include behavior patterns |
- If you only called
uploadAndSubmit()and haven't run audio extraction,transcript.availableisfalse. It isn't an error, and it doesn't mean nobody spoke in the recording. - “Pro” in field names and the value
prorefer to Pro video extraction, which the platform runs on the server. It runs automatically withingestAndAnalyze(); withuploadAndSubmit()only, call the extraction endpoint. - Show
disclaimerin full; don't truncate it. If the speech emotion distribution has a single entry,EMO_UNKNOWN, the whole recording is undetermined, so don't draw a distribution chart. If the distribution hasEMO_UNKNOWNalongside other emotions, draw it as usual and show the undetermined share at its ratio. Read a speaker's role together withrole_confidence; role fields (speaker_id,role,role_confidenceand so on) come only with high-precision transcripts, not standard ones. - Fields under
_metaare for troubleshooting and metering. They aren't part of the report, so don't base business decisions on them.
Signal report (model1)
| Field | Name | Type | Values or range | Nullable | Description |
|---|---|---|---|---|---|
_ | Response version envelope | object | Fixed 4 keys: product, api_, schema_, service | No | Says which service produced this response and its current version. It is not the report's version: decide which fields to read by schema_. |
schema_ | Report schema version | string | 1. | No | The signal report's own version line; it can't be compared with the personality report's version numbers. |
report_ | Report type | string | phasesense_ | No | Fixed value |
session_ | Session ID | string | sess_ | No | Same as the session the recording was uploaded under. |
generated_ | Report generation time | string | ISO 8601 (UTC or with a time zone) | No | — |
capabilities | Capabilities | object | Fixed 6 keys: signal_, emotion_, quality, transcript_, anomaly_, behavior_ | No | — |
capabilities. | Module supported | bool | true / false | No | false means the service doesn't support this module; don't read it as "nothing found". |
capabilities. | Data available this time | bool | true / false | No | false when the module is supported but no data was captured this time. |
capabilities. Conditional | Reason unavailable | string | no_ / no_ / audio_ / baseline_ / baseline_ | No | Absent when the module is available. Accept new reason codes you don't recognise and keep their original value. |
basic_ Conditional | Subject information | object | null or {id?, gender?, age?} | Yes | Returned when subject was included in the upload. |
basic_ | Session start time | number | null or ≥ 0, Unix milliseconds | Yes | — |
basic_ | Session duration | number | null or ≥ 0 seconds | Yes | Taken from the video, then the audio, then the timeline, whichever is available first. |
basic_ | Number of signal packs | int | ≥ 0 | No | — |
basic_ | Platforms that produced data | array< | A deduplicated subset of web, android, ios, server | No | May be an empty array |
basic_ | SDK versions | array< | Array of semantic version strings; length ≥ 0 | No | May be an empty array |
basic_ | Video location | string | null or a URL / OSS URI | Yes | — |
basic_ | Video frame rate | number | null or > 0 frames per second | Yes | — |
basic_ | Video width | int | null or ≥ 1 pixel | Yes | — |
basic_ | Video height | int | null or ≥ 1 pixel | Yes | — |
basic_ | Has an audio track | bool | true / false / null | Yes | — |
basic_ | Media type | string | null or a MIME string (not a closed list) | Yes | — |
timeline. | Shared timeline | array< | Each item ≥ 0 seconds, non-decreasing; length ≥ 0 | No | Seconds relative to the session |
timeline. | Timeline unit | string | s | No | Fixed value |
timeline. | Indicator series | array< | Each item is null or within the same key's indicator_; any finite number when there's no range | Yes (each item) | Same length as timestamps. Missing points are null: don't fill them with 0. |
timeline. | Indicator name (Chinese) | string | Free display text, not an enum | No | — |
timeline. | Indicator group | string | face / body / physio / emotion / quality / voice / external / radar / pro, or groups added later | No | New groups may appear; you can put groups you don't recognise under "Other". |
timeline. | Indicator unit | string | ratio / deg / count / bpm / ms / per_ / % / mmHg / celsius / score / value | No | All values known today; value means the unit hasn't been standardised yet. |
timeline. Conditional | Indicator range | array< | [min, max]: 2 items, min ≤ max | No | Use it first for chart axes. If the key is absent, no bounds are declared: auto-scale. |
timeline. | Indicator source | string | signals / quality / external / radar / pro | No | All sources today |
emotion_ | Visual emotion available | bool | true / false | No | — |
emotion_ | Valid emotion packs | int | ≥ 0 | No | — |
emotion_ | Visual emotion distribution | array | [] or items of {name, label, value}; length 0–8 | No | Weighted by frames_ |
emotion_ Conditional | Emotion code | string | neutral / happiness / sadness / anger / fear / surprise / disgust / contempt | No | All values today |
emotion_ Conditional | Emotion label (Chinese) | string | 中性 / 高兴 / 悲伤 / 愤怒 / 恐惧 / 惊讶 / 厌恶 / 轻蔑 | No | One-to-one with name |
emotion_ Conditional | Emotion share | number | 0–1; a non-empty distribution sums to about 1 | No | — |
emotion_ | Dominant visual emotion | string | One of the name values above, or null | Yes | null when there's no valid distribution |
emotion_ | Dominant emotion label (Chinese) | string | One of the label values above, or null | Yes | — |
emotion_ | Dominant emotion share | number | null or 0–1 | Yes | — |
emotion_ | Mean valence | number | null or −1 to 1 | Yes | — |
emotion_ | Mean arousal | number | null or −1 to 1 | Yes | — |
emotion_ | Share of approximate-estimate packs | number | null or 0–1 | Yes | — |
quality. | Capture quality degraded | bool | true / false | No | true when signal confidence or the face visible ratio is low |
quality. | Degradation reasons | array< | A subset of low_, low_, signal_ | No | May be an empty array; accept reason codes added later as unknown values |
quality. | Capture quality summary | string | Free text in Chinese (no length limit) | No | Can be shown as is |
quality. | Mean signal confidence | number | null or 0–1 | Yes | Below 0.6 marks the quality as degraded |
quality. | On-device face visible ratio | number | null or 0–1 | Yes | Below 0.5 marks the quality as degraded |
quality. | Pro face visible ratio | number | null or 0–1 | Yes | — |
quality. | Signal packs | int | ≥ 0 | No | — |
quality. | Frames analysed | int | ≥ 0 | No | — |
quality. | Valid emotion packs | int | ≥ 0 | No | — |
quality. | Channels actually available | array< | A subset of face, body, physio, voice, emotion, external, radar, pro, audio | No | Summarised from which fields are present; may be an empty array |
transcript. | Transcript available | bool | true / false | No | — |
transcript. | Full transcript | string | Free text (may be an empty string; no length limit) | No | — |
transcript. | Number of sentences | int | ≥ 0 | No | — |
transcript. | Number of speakers | int | ≥ 0 | No | 0 when there's no transcript |
transcript. | Speakers separated | bool | true / false | No | — |
transcript. | Sentence-level transcript | array | [] or the sentence objects below; length = segment_ | No | Empty until audio extraction has been done |
transcript. Conditional | Sentence number | int | Counts up from 0 | No | — |
transcript. Conditional | Sentence start | number | ≥ 0 seconds | No | Seconds relative to the session |
transcript. Conditional | Sentence end | number | ≥ start_, in seconds | No | — |
transcript. Conditional | Final sentence | bool | true / false | No | Currently always true in reports |
transcript. | Sentence confidence | number | null or 0–1; currently null | Yes | Kept for compatibility; never filled with a made-up 0 |
transcript. Conditional | Video jump start | int | ≥ 0 milliseconds | No | — |
transcript. Conditional | Video jump end | int | ≥ vt_, in milliseconds | No | — |
transcript. Conditional | Speaker number | int | -1 or ≥ 0 | No | -1 means the sentence couldn't be attributed |
transcript. Conditional | Stable anonymous speaker ID | string | spk_ or unknown | No | Older reports don't include it |
transcript. Conditional | Interview role | string | respondent / interviewer / unknown | No | unknown when the evidence isn't enough |
transcript. Conditional | Role confidence | number | 0–1 | No | Read it together with the role; don't look at the role alone |
transcript. Conditional | Role evidence source | string | Open string; current values: mouth-motion / mouth-motion-continuous / mouth-motion-continuous+transcript_ / mouth-motion-reused-pro / visual-active-speaker / mouth-motion-single / visual-active-speaker-single / transcript_ / duration_ / insufficient_ | No | Older data may hold earlier values, so treat it as an open string. |
transcript. Conditional | Overlapping speech | bool | true / false | No | When true, don't present the sentence as one speaker's words |
transcript. Conditional | Candidate speakers for overlap | array< | [] or an array of distinct non-negative integers | No | Usually one element for a single-speaker sentence |
transcript. Conditional | Final sentence text | string | Free text (may be an empty string; no length limit) | No | — |
transcript. Conditional | Raw text | string | Free text (may be an empty string; no length limit) | No | For auditing |
transcript. Conditional | Post-processed text | string | Free text (may be an empty string; no length limit) | No | Same as raw_ when post-processing is off, fails or can't decide |
transcript. Conditional | Speech emotion code | string | NEUTRAL / HAPPY / SAD / ANGRY / DISGUSTED / FEARFUL / SURPRISED / EMO_ | No | All values today |
transcript. Conditional | Speech emotion label (Chinese) | string | 中性 / 高兴 / 悲伤 / 愤怒 / 厌恶 / 恐惧 / 惊讶 / 未判定 | No | One-to-one with emotion |
transcript. Conditional | Sound event | string | Open label; currently Speech | No | Not a closed enum |
transcript. Conditional | Language | string | ISO 639-1 or another language code; known: zh / en / ja / ko / yue | No | — |
transcript. | Speech emotion distribution | array | [] or items of {name, label, count, ratio}; length 0–8 | No | If the array has a single item and its name is EMO_ (ratio ≈ 1), emotion wasn't determined for the whole recording: don't draw a distribution chart, because a 100% "undetermined" chart looks like a finding. This is an expected state (the transcript came out, the emotion didn't), not bad data. In this case capabilities. is still true, and that is correct: it tells you whether there is a sentence-level transcript, and setting it to false would also hide a transcript that is available. |
transcript. Conditional | Speech emotion code | string | Same values as segments[]. | No | — |
transcript. Conditional | Speech emotion label (Chinese) | string | Same values as segments[]. | No | — |
transcript. Conditional | Sentence count | int | ≥ 0 | No | — |
transcript. Conditional | Sentence share | number | 0–1 | No | A non-empty distribution sums to about 1 |
disclaimer | Report disclaimer | string | Fixed Chinese text (length not guaranteed) | No | Must be shown in full; don't truncate it |
Example (constructed from the field tables, not real data)
{
"_schema": {
"product": "<product>",
"api_version": "v1",
"schema_version": "1.0",
"service": "<service>"
},
"schema_version": "1.0",
"report_type": "phasesense_signal",
"session_id": "sess_1785800000000",
"generated_at": "2026-08-04T00:00:00+00:00",
"capabilities": {
"signal_timeline": {
"supported": true,
"available": true
},
"emotion_distribution": {
"supported": true,
"available": true
},
"quality": {
"supported": true,
"available": true
},
"transcript_emotion": {
"supported": true,
"available": true
},
"anomaly_events": {
"supported": false,
"available": false,
"reason": "baseline_deviation_not_implemented"
},
"behavior_patterns": {
"supported": false,
"available": false,
"reason": "baseline_patterns_not_implemented"
}
},
"basic_info": {
"subject": {
"id": "subject_1",
"gender": "unknown",
"age": 20
},
"start_ts": 1785800000000,
"duration_seconds": 120,
"signal_pack_count": 120,
"platforms": [
"web"
],
"sdk_versions": [
"0.1.0"
],
"video": {
"ref": "oss://example-bucket/example.mp4",
"fps": 30,
"width": 1280,
"height": 720,
"has_audio": true,
"mime": "video/mp4"
}
},
"timeline": {
"timestamps": [
0,
1,
2
],
"timestamp_unit": "s",
"indicators": {
"signals.emotion.vad.valence": [
0.1,
null,
0.3
],
"signals.physio.hr_bpm": [
null,
72,
73
],
"quality.signal_confidence": [
0.9,
0.8,
0.85
]
},
"indicator_meta": {
"signals.emotion.vad.valence": {
"label": "情绪效价",
"group": "emotion",
"unit": "score",
"range": [
-1,
1
],
"source": "signals"
},
"signals.physio.hr_bpm": {
"label": "心率",
"group": "physio",
"unit": "bpm",
"source": "signals"
},
"quality.signal_confidence": {
"label": "信号置信",
"group": "quality",
"unit": "ratio",
"range": [
0,
1
],
"source": "quality"
}
}
},
"emotion_summary": {
"available": true,
"sample_count": 119,
"distribution": [
{
"name": "neutral",
"label": "中性",
"value": 0.62
},
{
"name": "happiness",
"label": "高兴",
"value": 0.21
},
{
"name": "sadness",
"label": "悲伤",
"value": 0.1
},
{
"name": "surprise",
"label": "惊讶",
"value": 0.07
}
],
"dominant_emotion": "neutral",
"dominant_emotion_label": "中性",
"dominant_ratio": 0.62,
"valence_mean": 0.14,
"arousal_mean": 0.09,
"approximate_ratio": 0
},
"quality": {
"degraded": false,
"degrade_reasons": [],
"summary": "本次端侧信号质量达到报告展示阈值;缺测点仍按空值保留,未做补零。",
"signal_confidence": 0.83,
"face_visible_ratio": 0.91,
"pro_face_visible_ratio": 0.94,
"signal_pack_count": 120,
"frames_analyzed": 1800,
"emotion_pack_count": 119,
"channels_available": [
"audio",
"body",
"emotion",
"face",
"physio",
"pro"
]
},
"transcript": {
"available": true,
"text": "你好,我今天感觉很好。",
"segment_count": 1,
"num_speakers": 1,
"diarized": true,
"segments": [
{
"sentence_id": 0,
"start_time": 0.4,
"end_time": 2.1,
"is_final": true,
"confidence": null,
"vt_start_ms": 400,
"vt_end_ms": 2100,
"speaker": 0,
"speaker_id": "spk_0",
"role": "respondent",
"role_confidence": 0.8,
"role_source": "mouth-motion",
"overlap": false,
"speaker_candidates": [
0
],
"text": "你好,我今天感觉很好。",
"raw_text": "你好我今天感觉很好",
"corrected_text": "你好,我今天感觉很好。",
"emotion": "HAPPY",
"emotion_label": "高兴",
"event": "Speech",
"lang": "zh"
}
],
"emotion_distribution": [
{
"name": "HAPPY",
"label": "高兴",
"count": 1,
"ratio": 1
}
]
},
"disclaimer": "本报告为客观行为信号与语音内容的统计展示,不构成心理诊断或医学结论。"
}