> This page is for version v1.3 (default).
> For other versions, use one of these documentation indexes:
> - v1.3 (default): https://docs.twelvelabs.io/v1.3/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.twelvelabs.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.twelvelabs.io/_mcp/server.

# Retrieve the transcription of an asset

GET https://api.twelvelabs.io/v1.3/assets/{asset_id}/transcription

This method retrieves the transcription of a video or audio asset. An asset that has a transcription returns `200` with the current transcription status. The endpoint returns `404` when the asset cannot be found or has no transcription.

The platform generates transcriptions asynchronously. Poll this endpoint to monitor the transcription status.

When the status is `ready`, the response contains the segmentations you requested that the transcription supports. A transcription does not always support every segmentation, so read the segmentations the response returns rather than assuming every requested one is present.


Reference: https://docs.twelvelabs.io/api-reference/manage-assets/retrieve-transcription

## Authentication

- `x-api-key` header (required) — Your API key. You can find your API key on the API Keys page.

## Request

### Path parameters

- `asset_id` (string, required) — The unique identifier of the asset.

### Query parameters

- `include` (list of enum, optional) — Specifies the transcriptions to return. Each value segments the transcription differently: - `words`: One entry for each word. - `sentences`: One entry for each chunk the speech recognition model detects as a sentence. - `utterances`: One entry for each speaker turn. Send repeated values, such as the `?include=words&include=utterances` query string. The platform also accepts one comma-separated value, such as the `?include=words,utterances` query string. **Default**: `words`.
  - Allowed values: `words`, `sentences`, `utterances`

## Response

### 200

The transcription status and the requested transcriptions have been successfully retrieved.

- `status` (enum, required) — Indicates the current status of the transcription. **Values**: - `pending`: The platform has not started transcribing the asset. - `processing`: The platform is transcribing the asset. - `ready`: The transcription is available. - `failed`: The platform could not transcribe the asset. The `error` field describes the reason.
  - Allowed values: `pending`, `processing`, `ready`, `failed`
- `words` (list of AssetTranscriptionEntry, optional) — One entry for each word. Present when the status is `ready`, the `include` parameter lists `words`, and the transcription supports word-level segmentation.
- `sentences` (list of AssetTranscriptionEntry, optional) — One entry for each chunk the speech recognition model detects as a sentence. Present when the status is `ready`, the `include` parameter lists `sentences`, and the transcription supports sentence-level segmentation.
- `utterances` (list of AssetTranscriptionUtterance, optional) — One entry for each speaker turn. Present when the status is `ready`, the `include` parameter lists `utterances`, and the transcription supports speaker-turn segmentation.
- `error` (AssetTranscriptionError, optional) — Details about the failure. Present when the status is `failed`.

## Errors

### 400 Bad Request Error

The request has failed.

- `code` (string, optional) — A string representing the code associated with the error. See the [Error codes](/v1.3/api-reference/error-codes) page for details.
- `message` (string, optional) — A human-readable string describing the error, intended to be suitable for display in a user interface.

### 404 Not Found Error

The asset has no transcription, or it does not exist.

- `code` (string, optional) — A string representing the code associated with the error. See the [Error codes](/v1.3/api-reference/error-codes) page for details.
- `message` (string, optional) — A human-readable string describing the error, intended to be suitable for display in a user interface.

## Types

### AssetTranscriptionEntry

A timestamped transcription entry.

- `start` (double, required) — The start timestamp in seconds.
- `end` (double, required) — The end timestamp in seconds.
- `value` (string, required) — The recognized text in this time range.

### AssetTranscriptionUtterance

A timestamped transcription entry for a speaker turn.

- `start` (double, required) — The start timestamp in seconds.
- `end` (double, required) — The end timestamp in seconds.
- `value` (string, required) — The recognized text in this speaker turn.
- `speaker` (string, optional) — The speaker identifier when available.

### AssetTranscriptionError

Details about a failed transcription.

- `message` (string, required) — A human-readable message describing the failure. The exact text is not part of the contract. Do not parse it.

## Examples

### Transcription is ready

**Response**

```json
{
  "status": "ready",
  "words": [
    {
      "start": 0,
      "end": 0.32,
      "value": "Good"
    },
    {
      "start": 0.32,
      "end": 0.68,
      "value": "evening."
    },
    {
      "start": 0.8,
      "end": 1.15,
      "value": "Welcome"
    },
    {
      "start": 1.15,
      "end": 1.42,
      "value": "back."
    },
    {
      "start": 1.9,
      "end": 2.14,
      "value": "Thank"
    },
    {
      "start": 2.14,
      "end": 2.4,
      "value": "you."
    }
  ],
  "sentences": [
    {
      "start": 0,
      "end": 0.68,
      "value": "Good evening."
    },
    {
      "start": 0.8,
      "end": 1.42,
      "value": "Welcome back."
    },
    {
      "start": 1.9,
      "end": 2.4,
      "value": "Thank you."
    }
  ],
  "utterances": [
    {
      "start": 0,
      "end": 1.42,
      "value": "Good evening. Welcome back.",
      "speaker": "SPEAKER_00"
    },
    {
      "start": 1.9,
      "end": 2.4,
      "value": "Thank you.",
      "speaker": "SPEAKER_01"
    }
  ]
}
```

**SDK Code**

```python Transcription is ready
import requests

url = "https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription"

querystring = {"include":"[\"words\",\"utterances\"]"}

headers = {"x-api-key": "<apiKey>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript Transcription is ready
const url = 'https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D';
const options = {method: 'GET', headers: {'x-api-key': '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Transcription is ready
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("x-api-key", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Transcription is ready
require 'uri'
require 'net/http'

url = URI("https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java Transcription is ready
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D")
  .header("x-api-key", "<apiKey>")
  .asString();
```

```php Transcription is ready
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D', [
  'headers' => [
    'x-api-key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Transcription is ready
using RestSharp;

var client = new RestClient("https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D");
var request = new RestRequest(Method.GET);
request.AddHeader("x-api-key", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift Transcription is ready
import Foundation

let headers = ["x-api-key": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Transcription is pending

**Response**

```json
{
  "status": "pending"
}
```

**SDK Code**

```python Transcription is pending
import requests

url = "https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription"

querystring = {"include":"[\"words\",\"utterances\"]"}

headers = {"x-api-key": "<apiKey>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript Transcription is pending
const url = 'https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D';
const options = {method: 'GET', headers: {'x-api-key': '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Transcription is pending
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("x-api-key", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Transcription is pending
require 'uri'
require 'net/http'

url = URI("https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java Transcription is pending
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D")
  .header("x-api-key", "<apiKey>")
  .asString();
```

```php Transcription is pending
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D', [
  'headers' => [
    'x-api-key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Transcription is pending
using RestSharp;

var client = new RestClient("https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D");
var request = new RestRequest(Method.GET);
request.AddHeader("x-api-key", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift Transcription is pending
import Foundation

let headers = ["x-api-key": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Transcription is processing

**Response**

```json
{
  "status": "processing"
}
```

**SDK Code**

```python Transcription is processing
import requests

url = "https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription"

querystring = {"include":"[\"words\",\"utterances\"]"}

headers = {"x-api-key": "<apiKey>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript Transcription is processing
const url = 'https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D';
const options = {method: 'GET', headers: {'x-api-key': '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Transcription is processing
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("x-api-key", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Transcription is processing
require 'uri'
require 'net/http'

url = URI("https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java Transcription is processing
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D")
  .header("x-api-key", "<apiKey>")
  .asString();
```

```php Transcription is processing
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D', [
  'headers' => [
    'x-api-key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Transcription is processing
using RestSharp;

var client = new RestClient("https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D");
var request = new RestRequest(Method.GET);
request.AddHeader("x-api-key", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift Transcription is processing
import Foundation

let headers = ["x-api-key": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Transcription is ready and the media contains no speech

**Response**

```json
{
  "status": "ready",
  "words": []
}
```

**SDK Code**

```python Transcription is ready and the media contains no speech
import requests

url = "https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription"

querystring = {"include":"[\"words\",\"utterances\"]"}

headers = {"x-api-key": "<apiKey>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript Transcription is ready and the media contains no speech
const url = 'https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D';
const options = {method: 'GET', headers: {'x-api-key': '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Transcription is ready and the media contains no speech
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("x-api-key", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Transcription is ready and the media contains no speech
require 'uri'
require 'net/http'

url = URI("https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java Transcription is ready and the media contains no speech
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D")
  .header("x-api-key", "<apiKey>")
  .asString();
```

```php Transcription is ready and the media contains no speech
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D', [
  'headers' => [
    'x-api-key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Transcription is ready and the media contains no speech
using RestSharp;

var client = new RestClient("https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D");
var request = new RestRequest(Method.GET);
request.AddHeader("x-api-key", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift Transcription is ready and the media contains no speech
import Foundation

let headers = ["x-api-key": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Transcription failed

**Response**

```json
{
  "status": "failed",
  "error": {
    "message": "asset transcription failed"
  }
}
```

**SDK Code**

```python Transcription failed
import requests

url = "https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription"

querystring = {"include":"[\"words\",\"utterances\"]"}

headers = {"x-api-key": "<apiKey>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript Transcription failed
const url = 'https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D';
const options = {method: 'GET', headers: {'x-api-key': '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Transcription failed
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("x-api-key", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Transcription failed
require 'uri'
require 'net/http'

url = URI("https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java Transcription failed
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D")
  .header("x-api-key", "<apiKey>")
  .asString();
```

```php Transcription failed
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D', [
  'headers' => [
    'x-api-key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Transcription failed
using RestSharp;

var client = new RestClient("https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D");
var request = new RestRequest(Method.GET);
request.AddHeader("x-api-key", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift Transcription failed
import Foundation

let headers = ["x-api-key": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.twelvelabs.io/v1.3/assets/6298d673f1090f1100476d4c/transcription?include=%5B%22words%22%2C%22utterances%22%5D")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```