Interface NormalizedCallCompleted

The call completed normally.

interface NormalizedCallCompleted {
    eventId: string;
    providerCallId: string;
    timestamp: number;
    provider?: VoiceProviderName;
    providerRequestId?: string;
    kind: "call-completed";
    duration?: number;
}

Hierarchy

  • NormalizedEventBase
    • NormalizedCallCompleted

Properties

eventId: string

Provider-assigned event ID for idempotency.

providerCallId: string

Provider-assigned call ID.

timestamp: number

Unix timestamp (ms).

Provider namespace attached by stable carrier parsing.

providerRequestId?: string

Creation request identity when distinct from the actual call leg.

kind: "call-completed"
duration?: number

Call duration in seconds, if reported by the provider.