PostHog · Schema

TranscriptSegment

Serializer for individual transcript segments from AssemblyAI

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
timestamp number Milliseconds from recording start
speaker string
text string
confidence number Transcription confidence score
is_final boolean Whether this is the final version
View JSON Schema on GitHub

JSON Schema

posthog-transcriptsegment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TranscriptSegment",
  "title": "TranscriptSegment",
  "type": "object",
  "description": "Serializer for individual transcript segments from AssemblyAI",
  "properties": {
    "timestamp": {
      "type": "number",
      "format": "double",
      "nullable": true,
      "description": "Milliseconds from recording start"
    },
    "speaker": {
      "type": "string",
      "nullable": true
    },
    "text": {
      "type": "string"
    },
    "confidence": {
      "type": "number",
      "format": "double",
      "nullable": true,
      "description": "Transcription confidence score"
    },
    "is_final": {
      "type": "boolean",
      "nullable": true,
      "description": "Whether this is the final version"
    }
  },
  "required": [
    "text"
  ]
}