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

TranscriptionSegment

Interface: TranscriptionSegment

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

A single segment of transcribed audio with timing information.

Properties

confidence?

ts
optional confidence: number;
optional confidence: number;

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

Confidence score (0-1), if available


end

ts
end: number;
end: number;

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

End time of the segment in seconds


id

ts
id: number;
id: number;

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

Unique identifier for the segment


speaker?

ts
optional speaker: string;
optional speaker: string;

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

Speaker identifier, if diarization is enabled


start

ts
start: number;
start: number;

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

Start time of the segment in seconds


text

ts
text: string;
text: string;

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

Transcribed text for this segment