Table of Contents

Class ClientOptions

Namespace
AssemblyAI
Assembly
AssemblyAI.dll

The options for the AssemblyAI client.

public class ClientOptions
Inheritance
ClientOptions
Inherited Members

Properties

ApiKey

The AssemblyAI API key

public required string ApiKey { get; set; }

Property Value

string

BaseUrl

The Base URL for the API.

public string BaseUrl { get; set; }

Property Value

string

HttpClient

The http client used to make requests.

public HttpClient HttpClient { get; set; }

Property Value

HttpClient

MaxRetries

The amount to retry sending the HTTP request if it fails.

public int MaxRetries { get; set; }

Property Value

int

Timeout

The timeout for the request.

public TimeSpan Timeout { get; set; }

Property Value

TimeSpan

UserAgent

The AssemblyAI user agent

public UserAgent UserAgent { get; set; }

Property Value

UserAgent