# This file was auto-generated by Fern from our API Definition.

import typing

import typing_extensions


class SpeakV2SessionMetadataParams(typing_extensions.TypedDict):
    type: typing.Literal["SessionMetadata"]
    """
    Message type identifier
    """

    total_audio_duration_ms: int
    """
    Cumulative audio duration produced across the session, in milliseconds. An `Interrupt` rebases this onto the audio the client actually played.
    """

    total_input_character_count: int
    """
    Cumulative raw input character count across the session
    """

    total_billable_character_count: int
    """
    Cumulative billable character count across the session
    """
