GET
/
v2
/
live
/
{id}
curl --request GET \
  --url https://api.gladia.io/v2/live/{id} \
  --header 'x-gladia-key: <api-key>'
{
  "id": "45463597-20b7-4af7-b3b3-f5fb778203ab",
  "request_id": "G-45463597",
  "version": 2,
  "status": "queued",
  "created_at": "2023-12-28T09:04:17.210Z",
  "completed_at": "2023-12-28T09:04:37.210Z",
  "custom_metadata": {},
  "error_code": 500,
  "kind": "live",
  "file": {
    "id": "<string>",
    "filename": "<string>",
    "source": "<string>",
    "audio_duration": 3600,
    "number_of_channels": 1
  },
  "request_params": {
    "encoding": "wav/pcm",
    "bit_depth": 16,
    "sample_rate": 16000,
    "channels": 1,
    "model": "accurate",
    "endpointing": 0.01,
    "maximum_duration_without_endpointing": 5,
    "language_config": {
      "languages": [],
      "code_switching": false
    },
    "pre_processing": {
      "audio_enhancer": false,
      "speech_threshold": 0.8
    },
    "realtime_processing": {
      "words_accurate_timestamps": false,
      "custom_vocabulary": false,
      "custom_vocabulary_config": {
        "vocabulary": [
          "Gladia",
          {
            "value": "Gladia",
            "intensity": 0.5
          }
        ],
        "default_intensity": 0.5
      },
      "custom_spelling": false,
      "custom_spelling_config": {
        "spelling_dictionary": {
          "Gettleman": [
            "gettleman"
          ],
          "SQL": [
            "Sequel"
          ]
        }
      },
      "translation": false,
      "translation_config": {
        "target_languages": [
          "en"
        ],
        "model": "base",
        "match_original_utterances": true
      },
      "named_entity_recognition": false,
      "sentiment_analysis": false
    },
    "post_processing": {
      "summarization": false,
      "summarization_config": {
        "type": "general"
      },
      "chapterization": false
    },
    "messages_config": {
      "receive_partial_transcripts": true,
      "receive_final_transcripts": true,
      "receive_speech_events": true,
      "receive_pre_processing_events": true,
      "receive_realtime_processing_events": true,
      "receive_post_processing_events": true,
      "receive_acknowledgments": true,
      "receive_errors": true,
      "receive_lifecycle_events": false
    },
    "callback": false,
    "callback_config": {
      "url": "https://callback.example",
      "receive_partial_transcripts": false,
      "receive_final_transcripts": true,
      "receive_speech_events": false,
      "receive_pre_processing_events": true,
      "receive_realtime_processing_events": true,
      "receive_post_processing_events": true,
      "receive_acknowledgments": false,
      "receive_errors": false,
      "receive_lifecycle_events": true
    }
  },
  "result": {
    "metadata": {
      "audio_duration": 3600,
      "number_of_distinct_channels": 1,
      "billing_time": 3600,
      "transcription_time": 20
    },
    "transcription": {
      "full_transcript": "<string>",
      "languages": [
        "en"
      ],
      "sentences": [
        {
          "success": true,
          "is_empty": true,
          "exec_time": 123,
          "error": {
            "status_code": 500,
            "exception": "<string>",
            "message": "<string>"
          },
          "results": [
            "<string>"
          ]
        }
      ],
      "subtitles": [
        {
          "format": "srt",
          "subtitles": "<string>"
        }
      ],
      "utterances": [
        {
          "language": "en",
          "start": 123,
          "end": 123,
          "confidence": 123,
          "channel": 1,
          "speaker": 1,
          "words": [
            {
              "word": "<string>",
              "start": 123,
              "end": 123,
              "confidence": 123
            }
          ],
          "text": "<string>"
        }
      ]
    },
    "translation": {
      "success": true,
      "is_empty": true,
      "exec_time": 123,
      "error": {
        "status_code": 500,
        "exception": "<string>",
        "message": "<string>"
      },
      "results": [
        {
          "error": {
            "status_code": 500,
            "exception": "<string>",
            "message": "<string>"
          },
          "full_transcript": "<string>",
          "languages": [
            "en"
          ],
          "sentences": [
            {
              "success": true,
              "is_empty": true,
              "exec_time": 123,
              "error": {
                "status_code": 500,
                "exception": "<string>",
                "message": "<string>"
              },
              "results": [
                "<string>"
              ]
            }
          ],
          "subtitles": [
            {
              "format": "srt",
              "subtitles": "<string>"
            }
          ],
          "utterances": [
            {
              "language": "en",
              "start": 123,
              "end": 123,
              "confidence": 123,
              "channel": 1,
              "speaker": 1,
              "words": [
                {
                  "word": "<string>",
                  "start": 123,
                  "end": 123,
                  "confidence": 123
                }
              ],
              "text": "<string>"
            }
          ]
        }
      ]
    },
    "summarization": {
      "success": true,
      "is_empty": true,
      "exec_time": 123,
      "error": {
        "status_code": 500,
        "exception": "<string>",
        "message": "<string>"
      },
      "results": "<string>"
    },
    "moderation": {
      "success": true,
      "is_empty": true,
      "exec_time": 123,
      "error": {
        "status_code": 500,
        "exception": "<string>",
        "message": "<string>"
      },
      "results": "<string>"
    },
    "named_entity_recognition": {
      "success": true,
      "is_empty": true,
      "exec_time": 123,
      "error": {
        "status_code": 500,
        "exception": "<string>",
        "message": "<string>"
      },
      "entity": "<string>"
    },
    "name_consistency": {
      "success": true,
      "is_empty": true,
      "exec_time": 123,
      "error": {
        "status_code": 500,
        "exception": "<string>",
        "message": "<string>"
      },
      "results": "<string>"
    },
    "custom_spelling": {
      "success": true,
      "is_empty": true,
      "exec_time": 123,
      "error": {
        "status_code": 500,
        "exception": "<string>",
        "message": "<string>"
      },
      "results": "<string>"
    },
    "speaker_reidentification": {
      "success": true,
      "is_empty": true,
      "exec_time": 123,
      "error": {
        "status_code": 500,
        "exception": "<string>",
        "message": "<string>"
      },
      "results": "<string>"
    },
    "structured_data_extraction": {
      "success": true,
      "is_empty": true,
      "exec_time": 123,
      "error": {
        "status_code": 500,
        "exception": "<string>",
        "message": "<string>"
      },
      "results": "<string>"
    },
    "sentiment_analysis": {
      "success": true,
      "is_empty": true,
      "exec_time": 123,
      "error": {
        "status_code": 500,
        "exception": "<string>",
        "message": "<string>"
      },
      "results": "<string>"
    },
    "audio_to_llm": {
      "success": true,
      "is_empty": true,
      "exec_time": 123,
      "error": {
        "status_code": 500,
        "exception": "<string>",
        "message": "<string>"
      },
      "results": [
        {
          "success": true,
          "is_empty": true,
          "exec_time": 123,
          "error": {
            "status_code": 500,
            "exception": "<string>",
            "message": "<string>"
          },
          "results": {
            "prompt": "<string>",
            "response": "<string>"
          }
        }
      ]
    },
    "sentences": {
      "success": true,
      "is_empty": true,
      "exec_time": 123,
      "error": {
        "status_code": 500,
        "exception": "<string>",
        "message": "<string>"
      },
      "results": [
        "<string>"
      ]
    },
    "display_mode": {
      "success": true,
      "is_empty": true,
      "exec_time": 123,
      "error": {
        "status_code": 500,
        "exception": "<string>",
        "message": "<string>"
      },
      "results": [
        "<string>"
      ]
    },
    "chapters": {
      "success": true,
      "is_empty": true,
      "exec_time": 123,
      "error": {
        "status_code": 500,
        "exception": "<string>",
        "message": "<string>"
      },
      "results": {}
    }
  }
}

Authorizations

x-gladia-key
string
header
required

Your personal Gladia API key

Path Parameters

id
string
required

Id of the live job

Example:

"45463597-20b7-4af7-b3b3-f5fb778203ab"

Response

200
application/json
The live job's metadata
id
string
required

Id of the job

Example:

"45463597-20b7-4af7-b3b3-f5fb778203ab"

request_id
string
required

Debug id

Example:

"G-45463597"

version
integer
required

API version

Example:

2

status
enum<string>
required

"queued": the job has been queued. "processing": the job is being processed. "done": the job has been processed and the result is available. "error": an error occurred during the job's processing.

Available options:
queued,
processing,
done,
error
created_at
string
required

Creation date

Example:

"2023-12-28T09:04:17.210Z"

kind
enum<string>
default:live
required
Available options:
live
Example:

"live"

completed_at
string | null

Completion date when status is "done" or "error"

Example:

"2023-12-28T09:04:37.210Z"

custom_metadata
object | null

Custom metadata given in the initial request

error_code
integer | null

HTTP status code of the error if status is "error"

Required range: 400 <= x <= 599
Example:

500

file
object

The file data you uploaded. Can be null if status is "error"

request_params
object

Parameters used for this live transcription. Can be null if status is "error"

result
object

Live transcription's result when status is "done"