# AssemblyAIAudioLoaderById

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/document_loaders/assemblyai/AssemblyAIAudioLoaderById)

Load AssemblyAI audio transcripts.

It uses the AssemblyAI API to get an existing transcription
and loads the transcribed text into one or more Documents,
depending on the specified format.

## Signature

```python
AssemblyAIAudioLoaderById(
    self,
    transcript_id: str,
    api_key: str,
    transcript_format: TranscriptFormat,
)
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `transcript_id` | `str` | Yes | Id of an existing transcription. |
| `transcript_format` | `TranscriptFormat` | Yes | Transcript format to use. See class ``TranscriptFormat`` for more info. |
| `api_key` | `str` | Yes | AssemblyAI API key. |

## Extends

- `BaseLoader`

## Constructors

```python
__init__(
    self,
    transcript_id: str,
    api_key: str,
    transcript_format: TranscriptFormat,
)
```

| Name | Type |
|------|------|
| `transcript_id` | `str` |
| `api_key` | `str` |
| `transcript_format` | `TranscriptFormat` |


## Properties

- `api_key`
- `transcript_id`
- `transcript_format`

## Methods

- [`lazy_load()`](https://reference.langchain.com/python/langchain-community/document_loaders/assemblyai/AssemblyAIAudioLoaderById/lazy_load)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/a6a6079511ac8a5c1293337f88096b8641562e77/libs/community/langchain_community/document_loaders/assemblyai.py#L110)