@getdial/sdk - v0.38.0
    Preparing search index...

    Interface Call

    interface Call {
        callStartedAt: string | null;
        cancelRequestedAt: string | null;
        createdAt: string;
        direction: string;
        duration: number;
        failureReason: CallFailureReason | null;
        from: string;
        id: string;
        instruction: string | null;
        phoneNumberId: string;
        queuedAt: string | null;
        startedRingingAt: string | null;
        status: CallStatus;
        terminatedAt: string | null;
        terminationType: string | null;
        to: string;
        transcript: string | null;
        transcriptTurns: TranscriptTurn[] | null;
        transferredAt: string | null;
        transferTo: string | null;
    }
    Index
    callStartedAt: string | null
    cancelRequestedAt: string | null
    createdAt: string
    direction: string
    duration: number
    failureReason: CallFailureReason | null

    Why the call failed, when Dial knows the cause. See CallFailureReason.

    from: string
    id: string
    instruction: string | null

    The system prompt the agent ran with (outbound: outboundInstruction; inbound: the number's inboundInstruction snapshot).

    phoneNumberId: string
    queuedAt: string | null
    startedRingingAt: string | null
    status: CallStatus
    terminatedAt: string | null
    terminationType: string | null
    to: string
    transcript: string | null
    transcriptTurns: TranscriptTurn[] | null

    The same conversation as transcript, split into timed turns and ordered by startMs. Read it to analyse pacing rather than just wording: the pause before a turn is its startMs minus the previous turn's endMs. Null when the call has no transcript, and on calls that finished before Dial recorded turn timing.

    transferredAt: string | null

    Timestamp the call was cold-transferred to transferTo, or null if no hand-off occurred.

    transferTo: string | null

    Forward-to number (E.164) requested at placement, or null when no transfer was requested.