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

TranscriptionResult

Interface: TranscriptionResult

Defined in: packages/typescript/ai/src/types.ts:1701

Result of audio transcription.

Properties

duration?

ts
optional duration: number;
optional duration: number;

Defined in: packages/typescript/ai/src/types.ts:1711

Duration of the audio in seconds


id

ts
id: string;
id: string;

Defined in: packages/typescript/ai/src/types.ts:1703

Unique identifier for the transcription


language?

ts
optional language: string;
optional language: string;

Defined in: packages/typescript/ai/src/types.ts:1709

Language detected or specified


model

ts
model: string;
model: string;

Defined in: packages/typescript/ai/src/types.ts:1705

Model used for transcription


segments?

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

Defined in: packages/typescript/ai/src/types.ts:1713

Detailed segments with timing, if available


text

ts
text: string;
text: string;

Defined in: packages/typescript/ai/src/types.ts:1707

The full transcribed text


words?

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

Defined in: packages/typescript/ai/src/types.ts:1715

Word-level timestamps, if available