AdapterDiagnosticResponse
AdapterDiagnosticResponse = {
id:string;phase:"started"|"observed"; } | {id:string;outcome?:"succeeded"|"failed"|"cancelled"|"incomplete";phase:"finished"; }
Defined in: packages/realtime/src/lib/realtime-session/provider-adapter.types.ts:263
Provider-reported response identity and lifecycle, independent of native event names.
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ id: string; phase: "started" | "observed"; }
readonlyid:string
Opaque response identity within the provider lifetime and generation.
readonlyphase:"started"|"observed"
Start or intermediate evidence; neither establishes a terminal outcome.
Type Literal
Section titled “Type Literal”{ id: string; outcome?: "succeeded" | "failed" | "cancelled" | "incomplete"; phase: "finished"; }
readonlyid:string
Opaque response identity within the provider lifetime and generation.
outcome?
Section titled “outcome?”
readonlyoptionaloutcome?:"succeeded"|"failed"|"cancelled"|"incomplete"
Reported terminal outcome; omission preserves an unknown result.
readonlyphase:"finished"
Provider response processing ended; audio completion remains independent.