GET
/
v2
/
transcription
curl --request GET \
  --url https://api.gladia.io/v2/transcription \
  --header 'x-gladia-key: <api-key>'
{
  "items": [
    {
      "id": "45463597-20b7-4af7-b3b3-f5fb778203ab",
      "request_id": "G-45463597",
      "kind": [
        "pre-recorded"
      ],
      "created_at": "2023-12-28T09:04:17.210Z",
      "custom_metadata": {},
      "file": {
        "id": "<string>",
        "filename": "<string>",
        "source": "<string>",
        "audio_duration": 3600,
        "number_of_channels": 1
      },
      "request_params": {
        "context_prompt": "<string>",
        "custom_vocabulary": [
          "<string>"
        ],
        "detect_language": true,
        "enable_code_switching": true,
        "language": "en",
        "callback_url": "http://callback.example",
        "subtitles": true,
        "subtitles_config": {
          "formats": [
            "srt"
          ]
        },
        "diarization": true,
        "diarization_config": {
          "number_of_speakers": 2,
          "min_speakers": 1,
          "max_speakers": 2
        },
        "translation": true,
        "translation_config": {
          "target_languages": [
            "en"
          ],
          "model": "base"
        },
        "summarization": true,
        "summarization_config": {
          "type": "general"
        },
        "moderation": true,
        "audio_to_llm": true,
        "audio_to_llm_config": {
          "prompts": [
            "Extract the key points from the transcription"
          ]
        },
        "sentences": true,
        "audio_url": "<string>"
      },
      "status": "queued"
    }
  ],
  "first": "https://api.gladia.io/v2/transcription?status=done&offset=0&limit=20",
  "current": "https://api.gladia.io/v2/transcription?status=done&offset=0&limit=20",
  "next": "https://api.gladia.io/v2/transcription?status=done&offset=20&limit=20"
}

Authorizations

x-gladia-key
string
headerrequired

Your personal Gladia API key

Query Parameters

offset
integer
default: 0

The starting point for pagination. A value of 0 starts from the first item.

limit
integer
default: 20

The maximum number of items to return. Useful for pagination and controlling data payload size.

status
enum<string>[]

Filter the list based on item status. Accepts multiple values from the predefined list.

Available options:
queued,
processing,
done,
error
kind
enum<string>[]

Filter the list based on the item type. Supports multiple values from the predefined list.

Available options:
pre-recorded,
live
date
string

Filter items relevant to a specific date in ISO format (YYYY-MM-DD).

before_date
string

Include items that occurred before the specified date in ISO format.

after_date
string

Filter for items after the specified date. Use with before_date for a range. Date in ISO format.

Response

200 - application/json
items
object[]
required

List of retrieved transcription for this range

first
string
required

URL to fetch the first page

current
string
required

URL to fetch the current page

next
string | null
required

URL to fetch the next page