Mistral AI · Schema

TranscriptionResponse

Properties

Name Type Description
text string The full transcribed text
language string Detected or specified language code
duration number Duration of the audio in seconds
words array Word-level details when verbose_json format is used
segments array Segment-level details when verbose_json format is used
View JSON Schema on GitHub

JSON Schema

mistral-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": {
      "type": "string",
      "description": "Detected or specified language code"
    },
    "duration": {
      "type": "number",
      "description": "Duration of the audio in seconds"
    },
    "words": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Word"
      },
      "description": "Word-level details when verbose_json format is used"
    },
    "segments": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Segment"
      },
      "description": "Segment-level details when verbose_json format is used"
    }
  }
}