Skip to content

List jobs

GET /v2/pre-recorded

Your account's pre-recorded jobs, newest first, one page at a time.

Authentication: your API key in the x-gladia-key header (Authentication).

Example

Terminal window
curl https://eu1.api.gladia.io/v2/pre-recorded \
-H "x-gladia-key: $GLADIA_API_KEY"

Try it

status (query)
Only the jobs in these statuses (repeat it).

Parameters

  • limit integer · query

    Jobs per page, at most 100.

    default: 20 · 1 to 100

  • offset integer · query

    Jobs to skip, at most 1000; past that, follow next.

    default: 0 · 0 to 1000

  • cursor string · query

    Where next continues (opaque).

  • date string · query

    Only the jobs of this day (YYYY-MM-DD).

  • before_date string · query

    Only the jobs created before this date (ISO 8601).

  • after_date string · query

    Only the jobs created from this date (ISO 8601).

  • status array of string · query

    Only the jobs in these statuses (repeat it).

  • custom_metadata string · query

    Only the jobs whose custom_metadata has these values: a JSON object ({"call_id": "42"}), or custom_metadata[call_id]=42, which matches a value by its text (42 finds 42 and "42").

Responses

200 A page of jobs.
  • first string required

    URL of the first page.

  • current string required

    URL of this page.

  • next string required

    URL of the next page, null on the last one.

  • items array of object required

    The jobs of this page.

    14 fields
    • id string required

      Identifier of the job.

    • request_id string required

      Identifier of this answer, to quote to support.

    • version 2 required

      Version of the API.

    • status string required

      queued: waiting to start. processing: being transcribed. done: the result is ready. error: the job failed, error_code says how.

      one of: queued, processing, done, error

    • created_at string required

      Creation date (ISO 8601, UTC).

    • completed_at string required

      When the job ended (done or error).

    • custom_metadata object required

      The custom_metadata of the request.

    • error_code integer required

      HTTP status of the failure (error only): 422 the file could not be transcribed, 500 the job failed or was lost, 504 it did not end in time.

    • kind "pre-recorded" required

      Always pre-recorded.

    • post_session_metadata object required

      error: what went wrong, when the job failed.

    • file object required

      The job's audio.

      5 fields
      • id string required

        Identifier of the file.

      • filename string required

        Name of the file, when known.

      • source string required

        The audio_url the job was given, when it was not an uploaded file.

      • audio_duration number required

        Duration in seconds, once known.

      • number_of_channels integer required

        Channels of the audio, once known.

    • request_params object required

      The request, as you sent it.

    • result object required

      Once done: metadata (durations, billing_time), transcription (full_transcript, utterances, languages) and one entry per add-on asked for, in the shape of Gladia's pre-recorded API (other keys may appear).

      12 fields
      • metadata object required
        6 fields
        • audio_duration number required

          Duration of the file, in seconds.

        • number_of_distinct_channels integer required

          Distinct channels transcribed.

          at least 1

        • billing_time number required

          Seconds of audio transcribed and billed: the duration times the channels (a 10 min file with 4 channels is 2400).

        • transcription_time number required

          Seconds the transcription engine worked.

        • processing_time number

          Seconds from the job's creation (its file uploaded) to its end, its wait in the queue included: what you waited. Read with GET /v2/pre-recorded/{id} and the list; the transcription.success callback does not carry it.

          default: null

        • rtfx number

          Real-time factor: billing_time / processing_time, the seconds of audio transcribed per second waited. 60 means one hour of audio (every channel counted) done in one minute.

          default: null

      • transcription object

        default: null

        5 fields
        • full_transcript string required

          The whole transcript, as text.

        • languages array of string required

          The languages heard, most heard first.

        • sentences array of object

          With sentences.

          default: null

          5 fields
          • success boolean required

            The add-on succeeded.

          • is_empty boolean required

            The add-on found nothing.

          • exec_time number required

            Seconds the add-on took.

          • error object required

            Null on success, else why it failed.

          • results array of object or array of string required

            The transcript, one sentence per item.

        • subtitles array of object

          With subtitles.

          default: null

          2 fields
          • format string required

            The subtitle format.

            one of: srt, vtt

          • subtitles string required

            The whole file, in that format.

        • utterances array of object required

          The utterances, in time order.

          8 fields
          • start number required

            Start, in seconds.

          • end number required

            End, in seconds.

          • confidence number required

            Confidence, 0 to 1.

          • channel integer required

            The audio channel, from 0.

          • speaker integer

            The speaker, with diarization.

            default: null

          • words array of object required

            The words (empty in a translation).

          • text string required

            The utterance's text.

          • language string required

            The utterance's language code.

      • translation object

        default: null

        5 fields
        • success boolean required

          The add-on succeeded.

        • is_empty boolean required

          The add-on found nothing.

        • exec_time number required

          Seconds the add-on took.

        • error object required

          Null on success, else why it failed.

          3 fields
          • status_code integer required

            HTTP status of the failure.

          • exception string required

            What failed.

          • message string required

            Why.

        • results array of object required

          One per target language.

          6 fields
          • error object required

            Null on success, else why it failed.

          • full_transcript string required

            The whole translation, as text.

          • languages array of string required

            The target language.

          • sentences array of object

            With sentences.

            default: null

          • subtitles array of object

            With subtitles.

            default: null

          • utterances array of object required

            The utterances, translated.

      • named_entity_recognition object

        default: null

        5 fields
        • success boolean required

          The add-on succeeded.

        • is_empty boolean required

          The add-on found nothing.

        • exec_time number required

          Seconds the add-on took.

        • error object required

          Null on success, else why it failed.

          3 fields
          • status_code integer required

            HTTP status of the failure.

          • exception string required

            What failed.

          • message string required

            Why.

        • results array of object required

          The entities found.

          4 fields
          • entity_type string required

            The entity's type.

          • text string required

            The entity's words.

          • start number required

            Start, in seconds.

          • end number required

            End, in seconds.

      • pii_redaction object

        Only when pii_redaction failed: success false and its error; the transcript is then returned as transcribed, not redacted.

        default: null

        5 fields
        • success boolean required

          The add-on succeeded.

        • is_empty boolean required

          The add-on found nothing.

        • exec_time number required

          Seconds the add-on took.

        • error object required

          Null on success, else why it failed.

          3 fields
          • status_code integer required

            HTTP status of the failure.

          • exception string required

            What failed.

          • message string required

            Why.

        • results null

          Always null: the redaction is in the text.

          default: null

      • sentiment_analysis object

        default: null

        5 fields
        • success boolean required

          The add-on succeeded.

        • is_empty boolean required

          The add-on found nothing.

        • exec_time number required

          Seconds the add-on took.

        • error object required

          Null on success, else why it failed.

          3 fields
          • status_code integer required

            HTTP status of the failure.

          • exception string required

            What failed.

          • message string required

            Why.

        • results array of object or string required

          One per sentence, or per utterance with sentiment_analysis_config.unit: utterance.

          7 fields
          • sentiment string required

            positive, neutral or negative (Gladia's API also lists mixed and unknown, never given here).

          • emotion string required

            The emotion heard.

          • text string required

            The sentence's text (the utterance's with unit: utterance).

          • start number required

            Start, in seconds.

          • end number required

            End, in seconds.

          • channel integer required

            The audio channel, from 0.

          • speaker integer

            Who speaks, with diarization (per sentence only, as Gladia's API gives it).

            default: null

      • name_consistency object

        default: null

        5 fields
        • success boolean required

          The add-on succeeded.

        • is_empty boolean required

          The add-on found nothing.

        • exec_time number required

          Seconds the add-on took.

        • error object required

          Null on success, else why it failed.

          3 fields
          • status_code integer required

            HTTP status of the failure.

          • exception string required

            What failed.

          • message string required

            Why.

        • results object or string required

          The names rewritten: each spelling found -> the one kept ({"Catherine": "Katherine"}); empty when every name was already spelled one way.

      • sentences object

        default: null

        5 fields
        • success boolean required

          The add-on succeeded.

        • is_empty boolean required

          The add-on found nothing.

        • exec_time number required

          Seconds the add-on took.

        • error object required

          Null on success, else why it failed.

          3 fields
          • status_code integer required

            HTTP status of the failure.

          • exception string required

            What failed.

          • message string required

            Why.

        • results array of object or array of string required

          The transcript, one sentence per item.

          8 fields
          • sentence string required

            The sentence's text.

          • start number required

            Start, in seconds.

          • end number required

            End, in seconds.

          • confidence number required

            Confidence, 0 to 1 (mean of the sentence's words).

          • channel integer required

            The audio channel, from 0.

          • speaker integer

            The speaker, with diarization.

            default: null

          • words array of object required

            The words of the sentence.

          • language string

            The sentence's language code.

            default: null

      • display_mode object

        default: null

        5 fields
        • success boolean required

          The add-on succeeded.

        • is_empty boolean required

          The add-on found nothing.

        • exec_time number required

          Seconds the add-on took.

        • error object required

          Null on success, else why it failed.

          3 fields
          • status_code integer required

            HTTP status of the failure.

          • exception string required

            What failed.

          • message string required

            Why.

        • results array of object required

          The transcript regrouped into display lines: each utterance's words in time order, cut where another utterance's word falls between them, with the mean confidence of the line's words (two decimals, as Classic rounded it).

          8 fields
          • start number required

            Start, in seconds.

          • end number required

            End, in seconds.

          • confidence number required

            Confidence, 0 to 1.

          • channel integer required

            The audio channel, from 0.

          • speaker integer

            The speaker, with diarization.

            default: null

          • words array of object required

            The words (empty in a translation).

          • text string required

            The utterance's text.

          • language string required

            The utterance's language code.

      • diarization object

        default: null

        5 fields
        • success boolean required

          The add-on succeeded.

        • is_empty boolean required

          The add-on found nothing.

        • exec_time number required

          Seconds the add-on took.

        • error object required

          Null on success, else why it failed.

          3 fields
          • status_code integer required

            HTTP status of the failure.

          • exception string required

            What failed.

          • message string required

            Why.

        • results array of object required

          Deprecated: the utterances.

          8 fields
          • start number required

            Start, in seconds.

          • end number required

            End, in seconds.

          • confidence number required

            Confidence, 0 to 1.

          • channel integer required

            The audio channel, from 0.

          • speaker integer

            The speaker, with diarization.

            default: null

          • words array of object required

            The words (empty in a translation).

          • text string required

            The utterance's text.

          • language string required

            The utterance's language code.

      • summarization object

        default: null

        5 fields
        • success boolean required

          The add-on succeeded.

        • is_empty boolean required

          The add-on found nothing.

        • exec_time number required

          Seconds the add-on took.

        • error object required

          Null on success, else why it failed.

          3 fields
          • status_code integer required

            HTTP status of the failure.

          • exception string required

            What failed.

          • message string required

            Why.

        • results string required

          The summary, written by the cluster's LLM.

      • audio_to_llm object

        default: null

        5 fields
        • success boolean required

          The add-on succeeded.

        • is_empty boolean required

          The add-on found nothing.

        • exec_time number required

          Seconds the add-on took.

        • error object required

          Null on success, else why it failed.

          3 fields
          • status_code integer required

            HTTP status of the failure.

          • exception string required

            What failed.

          • message string required

            Why.

        • results array of object required

          One entry per prompt of audio_to_llm_config.prompts, in their order.

          5 fields
          • success boolean required

            The add-on succeeded.

          • is_empty boolean required

            The add-on found nothing.

          • exec_time number required

            Seconds the add-on took.

          • error object required

            Null on success, else why it failed.

          • results object required

            The prompt and its answer; null if it failed.

    • feedback object

      Your rating of the job (POST /v2/pre-recorded/{id}/feedback), null until you rate it. Returned by GET /v2/pre-recorded/{id}, not by the list.

      default: null

      3 fields
      • rating string required

        good or bad.

        one of: good, bad

      • comment string required

        Why, as you wrote it; null without a comment.

      • rated_at string required

        When it was rated (ISO 8601, UTC); a new rating replaces the previous one.

Example
{
"first": "string",
"current": "string",
"next": "string",
"items": [
{
"id": "0199d7a2-5c3e-7b41-9f0a-3c2d1e4f5a6b",
"request_id": "string",
"version": 2,
"status": "queued",
"created_at": "2026-10-12T09:04:17.210Z",
"completed_at": "string",
"custom_metadata": {},
"error_code": 0,
"kind": "pre-recorded",
"post_session_metadata": {},
"file": {
"id": "string",
"filename": "string",
"source": "string",
"audio_duration": 0.5,
"number_of_channels": 0
},
"request_params": {},
"result": {
"metadata": {
"audio_duration": 0.5,
"number_of_distinct_channels": 1,
"billing_time": 0.5,
"transcription_time": 0.5,
"processing_time": 0.5,
"rtfx": 0.5
},
"transcription": {
"full_transcript": "string",
"languages": [],
"sentences": [],
"subtitles": [],
"utterances": []
},
"translation": {
"success": false,
"is_empty": false,
"exec_time": 0.5,
"error": {
"status_code": 500,
"exception": "string",
"message": "string"
},
"results": []
},
"named_entity_recognition": {
"success": false,
"is_empty": false,
"exec_time": 0.5,
"error": {
"status_code": 500,
"exception": "string",
"message": "string"
},
"results": []
},
"pii_redaction": {
"success": false,
"is_empty": false,
"exec_time": 0.5,
"error": {
"status_code": 500,
"exception": "string",
"message": "string"
},
"results": null
},
"sentiment_analysis": {
"success": false,
"is_empty": false,
"exec_time": 0.5,
"error": {
"status_code": 500,
"exception": "string",
"message": "string"
},
"results": []
},
"name_consistency": {
"success": false,
"is_empty": false,
"exec_time": 0.5,
"error": {
"status_code": 500,
"exception": "string",
"message": "string"
},
"results": {}
},
"sentences": {
"success": false,
"is_empty": false,
"exec_time": 0.5,
"error": {
"status_code": 500,
"exception": "string",
"message": "string"
},
"results": []
},
"display_mode": {
"success": false,
"is_empty": false,
"exec_time": 0.5,
"error": {
"status_code": 500,
"exception": "string",
"message": "string"
},
"results": []
},
"diarization": {
"success": false,
"is_empty": false,
"exec_time": 0.5,
"error": {
"status_code": 500,
"exception": "string",
"message": "string"
},
"results": []
},
"summarization": {
"success": false,
"is_empty": false,
"exec_time": 0.5,
"error": {
"status_code": 500,
"exception": "string",
"message": "string"
},
"results": "string"
},
"audio_to_llm": {
"success": false,
"is_empty": false,
"exec_time": 0.5,
"error": {
"status_code": 500,
"exception": "string",
"message": "string"
},
"results": []
}
},
"feedback": {
"rating": "good",
"comment": "string",
"rated_at": "2026-10-12T09:04:17.210Z"
}
}
]
}
400 The request is invalid: validation_errors lists why.
Error body
{
"statusCode": 400,
"timestamp": "2026-10-12T09:04:17.210Z",
"path": "/v2/live",
"message": "Invalid parameter(s). See validation_errors for more details.",
"request_id": "G-1a2b3c4d",
"validation_errors": [
"sample_rate Input should be 8000, 16000, 32000, 44100 or 48000"
],
"error": "string"
}
401 No API key, or an unknown one.
Error body
{
"statusCode": 400,
"timestamp": "2026-10-12T09:04:17.210Z",
"path": "/v2/live",
"message": "Invalid parameter(s). See validation_errors for more details.",
"request_id": "G-1a2b3c4d",
"validation_errors": [
"sample_rate Input should be 8000, 16000, 32000, 44100 or 48000"
],
"error": "string"
}
403 The key may not do this (its scopes, or the addresses it may be used from).
Error body
{
"statusCode": 400,
"timestamp": "2026-10-12T09:04:17.210Z",
"path": "/v2/live",
"message": "Invalid parameter(s). See validation_errors for more details.",
"request_id": "G-1a2b3c4d",
"validation_errors": [
"sample_rate Input should be 8000, 16000, 32000, 44100 or 48000"
],
"error": "string"
}
503 Pre-recorded transcription is not available right now: try again.
Error body
{
"statusCode": 400,
"timestamp": "2026-10-12T09:04:17.210Z",
"path": "/v2/live",
"message": "Invalid parameter(s). See validation_errors for more details.",
"request_id": "G-1a2b3c4d",
"validation_errors": [
"sample_rate Input should be 8000, 16000, 32000, 44100 or 48000"
],
"error": "string"
}