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

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

Confidence score (0-1), if available


end

ts
end: number;
end: number;

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

End time of the segment in seconds


id

ts
id: number;
id: number;

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

Unique identifier for the segment


speaker?

ts
optional speaker: string;
optional speaker: string;

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

Speaker identifier, if diarization is enabled


start

ts
start: number;
start: number;

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

Start time of the segment in seconds


text

ts
text: string;
text: string;

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

Transcribed text for this segment