Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
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:1505

Result of audio transcription.

Properties

duration?

ts
optional duration: number;
optional duration: number;

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

Duration of the audio in seconds


id

ts
id: string;
id: string;

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

Unique identifier for the transcription


language?

ts
optional language: string;
optional language: string;

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

Language detected or specified


model

ts
model: string;
model: string;

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

Model used for transcription


segments?

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

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

Detailed segments with timing, if available


text

ts
text: string;
text: string;

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

The full transcribed text


words?

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

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

Word-level timestamps, if available