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

TranscriptionSegment

Interface: TranscriptionSegment

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

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

Confidence score (0-1), if available


end

ts
end: number;
end: number;

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

End time of the segment in seconds


id

ts
id: number;
id: number;

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

Unique identifier for the segment


speaker?

ts
optional speaker: string;
optional speaker: string;

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

Speaker identifier, if diarization is enabled


start

ts
start: number;
start: number;

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

Start time of the segment in seconds


text

ts
text: string;
text: string;

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

Transcribed text for this segment