Table of Contents

Class AssemblyAIClient

Namespace
AssemblyAI
Assembly
AssemblyAI.dll

The client to interact with the AssemblyAI API.

public class AssemblyAIClient
Inheritance
AssemblyAIClient
Inherited Members

Constructors

AssemblyAIClient(ClientOptions)

Create a new instance of the AssemblyAIClient class.

public AssemblyAIClient(ClientOptions clientOptions)

Parameters

clientOptions ClientOptions

The AssemblyAI client options

Exceptions

ArgumentException

Thrown if ClientOptions.ApiKey is null or empty.

AssemblyAIClient(string)

Create a new instance of the AssemblyAIClient class.

public AssemblyAIClient(string apiKey)

Parameters

apiKey string

Your AssemblyAI API key

Exceptions

ArgumentException

Thrown if apiKey is null or empty.

Properties

Files

Client to upload files to the AssemblyAI API.

public FilesClient Files { get; }

Property Value

FilesClient

Lemur

The client to interact with the AssemblyAI LeMUR API.

public LemurClient Lemur { get; }

Property Value

LemurClient

Realtime

The client to interact with the AssemblyAI Realtime HTTP API. To interact with the Realtime WebSocket API, use the RealtimeTranscriber class.

public RealtimeClient Realtime { get; }

Property Value

RealtimeClient

Transcripts

The client to interact with the AssemblyAI Transcripts API.

public ExtendedTranscriptsClient Transcripts { get; }

Property Value

ExtendedTranscriptsClient