HomeProducts— Affect— PersonaTechnologyDocs— Quick Start— Authentication— Client SDK— Webhooks— ErrorsSandboxSign In
EN · 中文

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_version first 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 null are different. Gaps on the timeline are null: 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.label may be the indicator key rather than a display name, so be ready to show the key or use your own name for it; range may 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; a unit of value means the unit isn't standardized yet, so don't show it as a unit; basic_info.start_ts may be 0 or null, so don't convert times from it; if degrade_reasons contains signal_quality_unknown, on-device capture quality couldn't be assessed, and quality.degraded may still be false.
  • capabilities describes each module: supported is false when the capability isn't offered, which doesn't mean nothing was found; available is false when there is no data this time, and reason says why.
Reason codeMeaning
no_signal_dataNo signal data in this session
no_visual_emotion_distributionNo visual emotion distribution data in this session
audio_not_extracted_or_no_speechOne 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_implementedThe report doesn't currently include anomaly periods
baseline_patterns_not_implementedThe report doesn't currently include behavior patterns
  • If you only called uploadAndSubmit() and haven't run audio extraction, transcript.available is false. It isn't an error, and it doesn't mean nobody spoke in the recording.
  • “Pro” in field names and the value pro refer to Pro video extraction, which the platform runs on the server. It runs automatically with ingestAndAnalyze(); with uploadAndSubmit() only, call the extraction endpoint.
  • Show disclaimer in 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 has EMO_UNKNOWN alongside other emotions, draw it as usual and show the undetermined share at its ratio. Read a speaker's role together with role_confidence; role fields (speaker_id, role, role_confidence and so on) come only with high-precision transcripts, not standard ones.
  • Fields under _meta are for troubleshooting and metering. They aren't part of the report, so don't base business decisions on them.

Signal report (model1)

FieldNameTypeValues or rangeNullableDescription
_schemaResponse version envelopeobjectFixed 4 keys: product, api_version, schema_version, serviceNoSays which service produced this response and its current version. It is not the report's version: decide which fields to read by schema_version.
schema_versionReport schema versionstring1.0NoThe signal report's own version line; it can't be compared with the personality report's version numbers.
report_typeReport typestringphasesense_signalNoFixed value
session_idSession IDstringsess_<timestamp in milliseconds>NoSame as the session the recording was uploaded under.
generated_atReport generation timestringISO 8601 (UTC or with a time zone)No—
capabilitiesCapabilitiesobjectFixed 6 keys: signal_timeline, emotion_distribution, quality, transcript_emotion, anomaly_events, behavior_patternsNo—
capabilities.{module}.supportedModule supportedbooltrue / falseNofalse means the service doesn't support this module; don't read it as "nothing found".
capabilities.{module}.availableData available this timebooltrue / falseNofalse when the module is supported but no data was captured this time.
capabilities.{module}.reason ConditionalReason unavailablestringno_signal_data / no_visual_emotion_distribution / audio_not_extracted_or_no_speech / baseline_deviation_not_implemented / baseline_patterns_not_implementedNoAbsent when the module is available. Accept new reason codes you don't recognise and keep their original value.
basic_info.subject ConditionalSubject informationobjectnull or {id?, gender?, age?}YesReturned when subject was included in the upload.
basic_info.start_tsSession start timenumbernull or ≥ 0, Unix millisecondsYes—
basic_info.duration_secondsSession durationnumbernull or ≥ 0 secondsYesTaken from the video, then the audio, then the timeline, whichever is available first.
basic_info.signal_pack_countNumber of signal packsint≥ 0No—
basic_info.platforms[]Platforms that produced dataarray<string>A deduplicated subset of web, android, ios, serverNoMay be an empty array
basic_info.sdk_versions[]SDK versionsarray<string>Array of semantic version strings; length ≥ 0NoMay be an empty array
basic_info.video.refVideo locationstringnull or a URL / OSS URIYes—
basic_info.video.fpsVideo frame ratenumbernull or > 0 frames per secondYes—
basic_info.video.widthVideo widthintnull or ≥ 1 pixelYes—
basic_info.video.heightVideo heightintnull or ≥ 1 pixelYes—
basic_info.video.has_audioHas an audio trackbooltrue / false / nullYes—
basic_info.video.mimeMedia typestringnull or a MIME string (not a closed list)Yes—
timeline.timestamps[]Shared timelinearray<number>Each item ≥ 0 seconds, non-decreasing; length ≥ 0NoSeconds relative to the session
timeline.timestamp_unitTimeline unitstringsNoFixed value
timeline.indicators.{key}[]Indicator seriesarray<number|null>Each item is null or within the same key's indicator_meta.range; any finite number when there's no rangeYes (each item)Same length as timestamps. Missing points are null: don't fill them with 0.
timeline.indicator_meta.{key}.labelIndicator name (Chinese)stringFree display text, not an enumNo—
timeline.indicator_meta.{key}.groupIndicator groupstringface / body / physio / emotion / quality / voice / external / radar / pro, or groups added laterNoNew groups may appear; you can put groups you don't recognise under "Other".
timeline.indicator_meta.{key}.unitIndicator unitstringratio / deg / count / bpm / ms / per_min / % / mmHg / celsius / score / valueNoAll values known today; value means the unit hasn't been standardised yet.
timeline.indicator_meta.{key}.range ConditionalIndicator rangearray<number>[min, max]: 2 items, min ≤ maxNoUse it first for chart axes. If the key is absent, no bounds are declared: auto-scale.
timeline.indicator_meta.{key}.sourceIndicator sourcestringsignals / quality / external / radar / proNoAll sources today
emotion_summary.availableVisual emotion availablebooltrue / falseNo—
emotion_summary.sample_countValid emotion packsint≥ 0No—
emotion_summary.distribution[]Visual emotion distributionarray[] or items of {name, label, value}; length 0–8NoWeighted by frames_analyzed
emotion_summary.distribution[].name ConditionalEmotion codestringneutral / happiness / sadness / anger / fear / surprise / disgust / contemptNoAll values today
emotion_summary.distribution[].label ConditionalEmotion label (Chinese)string中性 / 高兴 / 悲伤 / 愤怒 / 恐惧 / 惊讶 / 厌恶 / 轻蔑NoOne-to-one with name
emotion_summary.distribution[].value ConditionalEmotion sharenumber0–1; a non-empty distribution sums to about 1No—
emotion_summary.dominant_emotionDominant visual emotionstringOne of the name values above, or nullYesnull when there's no valid distribution
emotion_summary.dominant_emotion_labelDominant emotion label (Chinese)stringOne of the label values above, or nullYes—
emotion_summary.dominant_ratioDominant emotion sharenumbernull or 0–1Yes—
emotion_summary.valence_meanMean valencenumbernull or −1 to 1Yes—
emotion_summary.arousal_meanMean arousalnumbernull or −1 to 1Yes—
emotion_summary.approximate_ratioShare of approximate-estimate packsnumbernull or 0–1Yes—
quality.degradedCapture quality degradedbooltrue / falseNotrue when signal confidence or the face visible ratio is low
quality.degrade_reasons[]Degradation reasonsarray<string>A subset of low_signal_confidence, low_face_visible_ratio, signal_quality_unknownNoMay be an empty array; accept reason codes added later as unknown values
quality.summaryCapture quality summarystringFree text in Chinese (no length limit)NoCan be shown as is
quality.signal_confidenceMean signal confidencenumbernull or 0–1YesBelow 0.6 marks the quality as degraded
quality.face_visible_ratioOn-device face visible rationumbernull or 0–1YesBelow 0.5 marks the quality as degraded
quality.pro_face_visible_ratioPro face visible rationumbernull or 0–1Yes—
quality.signal_pack_countSignal packsint≥ 0No—
quality.frames_analyzedFrames analysedint≥ 0No—
quality.emotion_pack_countValid emotion packsint≥ 0No—
quality.channels_available[]Channels actually availablearray<string>A subset of face, body, physio, voice, emotion, external, radar, pro, audioNoSummarised from which fields are present; may be an empty array
transcript.availableTranscript availablebooltrue / falseNo—
transcript.textFull transcriptstringFree text (may be an empty string; no length limit)No—
transcript.segment_countNumber of sentencesint≥ 0No—
transcript.num_speakersNumber of speakersint≥ 0No0 when there's no transcript
transcript.diarizedSpeakers separatedbooltrue / falseNo—
transcript.segments[]Sentence-level transcriptarray[] or the sentence objects below; length = segment_countNoEmpty until audio extraction has been done
transcript.segments[].sentence_id ConditionalSentence numberintCounts up from 0No—
transcript.segments[].start_time ConditionalSentence startnumber≥ 0 secondsNoSeconds relative to the session
transcript.segments[].end_time ConditionalSentence endnumber≥ start_time, in secondsNo—
transcript.segments[].is_final ConditionalFinal sentencebooltrue / falseNoCurrently always true in reports
transcript.segments[].confidenceSentence confidencenumbernull or 0–1; currently nullYesKept for compatibility; never filled with a made-up 0
transcript.segments[].vt_start_ms ConditionalVideo jump startint≥ 0 millisecondsNo—
transcript.segments[].vt_end_ms ConditionalVideo jump endint≥ vt_start_ms, in millisecondsNo—
transcript.segments[].speaker ConditionalSpeaker numberint-1 or ≥ 0No-1 means the sentence couldn't be attributed
transcript.segments[].speaker_id ConditionalStable anonymous speaker IDstringspk_<non-negative integer> or unknownNoOlder reports don't include it
transcript.segments[].role ConditionalInterview rolestringrespondent / interviewer / unknownNounknown when the evidence isn't enough
transcript.segments[].role_confidence ConditionalRole confidencenumber0–1NoRead it together with the role; don't look at the role alone
transcript.segments[].role_source ConditionalRole evidence sourcestringOpen string; current values: mouth-motion / mouth-motion-continuous / mouth-motion-continuous+transcript_heuristic / mouth-motion-reused-pro / visual-active-speaker / mouth-motion-single / visual-active-speaker-single / transcript_heuristic / duration_heuristic / insufficient_evidenceNoOlder data may hold earlier values, so treat it as an open string.
transcript.segments[].overlap ConditionalOverlapping speechbooltrue / falseNoWhen true, don't present the sentence as one speaker's words
transcript.segments[].speaker_candidates[] ConditionalCandidate speakers for overlaparray<int>[] or an array of distinct non-negative integersNoUsually one element for a single-speaker sentence
transcript.segments[].text ConditionalFinal sentence textstringFree text (may be an empty string; no length limit)No—
transcript.segments[].raw_text ConditionalRaw textstringFree text (may be an empty string; no length limit)NoFor auditing
transcript.segments[].corrected_text ConditionalPost-processed textstringFree text (may be an empty string; no length limit)NoSame as raw_text when post-processing is off, fails or can't decide
transcript.segments[].emotion ConditionalSpeech emotion codestringNEUTRAL / HAPPY / SAD / ANGRY / DISGUSTED / FEARFUL / SURPRISED / EMO_UNKNOWNNoAll values today
transcript.segments[].emotion_label ConditionalSpeech emotion label (Chinese)string中性 / 高兴 / 悲伤 / 愤怒 / 厌恶 / 恐惧 / 惊讶 / 未判定NoOne-to-one with emotion
transcript.segments[].event ConditionalSound eventstringOpen label; currently SpeechNoNot a closed enum
transcript.segments[].lang ConditionalLanguagestringISO 639-1 or another language code; known: zh / en / ja / ko / yueNo—
transcript.emotion_distribution[]Speech emotion distributionarray[] or items of {name, label, count, ratio}; length 0–8NoIf the array has a single item and its name is EMO_UNKNOWN (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.transcript_emotion.available 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.emotion_distribution[].name ConditionalSpeech emotion codestringSame values as segments[].emotionNo—
transcript.emotion_distribution[].label ConditionalSpeech emotion label (Chinese)stringSame values as segments[].emotion_labelNo—
transcript.emotion_distribution[].count ConditionalSentence countint≥ 0No—
transcript.emotion_distribution[].ratio ConditionalSentence sharenumber0–1NoA non-empty distribution sums to about 1
disclaimerReport disclaimerstringFixed Chinese text (length not guaranteed)NoMust 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": "本报告为客观行为信号与语音内容的统计展示,不构成心理诊断或医学结论。"
}