elevenlabs · Schema

TranscriptionResponse

Properties

Name Type Description
text string The full transcribed text.
language_code string The detected language of the audio content.
language_probability number Confidence score for the detected language.
words array Word-level timing information when timestamps are requested.
audio_events array Non-speech audio events detected in the recording.
View JSON Schema on GitHub

JSON Schema

elevenlabs-transcriptionresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TranscriptionResponse",
  "title": "TranscriptionResponse",
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "description": "The full transcribed text."
    },
    "language_code": {
      "type": "string",
      "description": "The detected language of the audio content."
    },
    "language_probability": {
      "type": "number",
      "description": "Confidence score for the detected language."
    },
    "words": {
      "type": "array",
      "description": "Word-level timing information when timestamps are requested.",
      "items": {
        "$ref": "#/components/schemas/TranscriptionWord"
      }
    },
    "audio_events": {
      "type": "array",
      "description": "Non-speech audio events detected in the recording.",
      "items": {
        "$ref": "#/components/schemas/AudioEvent"
      }
    }
  }
}