Docs
CodeRabbit
Cloudflare
Railway
AG Grid
OpenRouter
WorkOS
SerpAPI
Netlify
Clerk
Unkey
Prisma
Electric
Sentry
CodeRabbit
Cloudflare
Railway
AG Grid
OpenRouter
WorkOS
SerpAPI
Netlify
Clerk
Unkey
Prisma
Electric
Sentry
Class References
Function References
Interface References
Type Alias References
Variable References

TranscriptionResult

Interface: TranscriptionResult

Defined in: packages/ai/src/types.ts:1774

Result of audio transcription.

Properties

duration?

ts
optional duration: number;
optional duration: number;

Defined in: packages/ai/src/types.ts:1784

Duration of the audio in seconds


id

ts
id: string;
id: string;

Defined in: packages/ai/src/types.ts:1776

Unique identifier for the transcription


language?

ts
optional language: string;
optional language: string;

Defined in: packages/ai/src/types.ts:1782

Language detected or specified


model

ts
model: string;
model: string;

Defined in: packages/ai/src/types.ts:1778

Model used for transcription


segments?

ts
optional segments: TranscriptionSegment[];
optional segments: TranscriptionSegment[];

Defined in: packages/ai/src/types.ts:1786

Detailed segments with timing, if available


text

ts
text: string;
text: string;

Defined in: packages/ai/src/types.ts:1780

The full transcribed text


usage?

ts
optional usage: TokenUsage<ProviderUsageDetails>;
optional usage: TokenUsage<ProviderUsageDetails>;

Defined in: packages/ai/src/types.ts:1790

Token usage information (if provided by the adapter)


words?

ts
optional words: TranscriptionWord[];
optional words: TranscriptionWord[];

Defined in: packages/ai/src/types.ts:1788

Word-level timestamps, if available