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:1518

Result of audio transcription.

Properties

duration?

ts
optional duration: number;
optional duration: number;

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

Duration of the audio in seconds


id

ts
id: string;
id: string;

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

Unique identifier for the transcription


language?

ts
optional language: string;
optional language: string;

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

Language detected or specified


model

ts
model: string;
model: string;

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

Model used for transcription


segments?

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

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

Detailed segments with timing, if available


text

ts
text: string;
text: string;

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

The full transcribed text


words?

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

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

Word-level timestamps, if available