Skip to content

ParticipantMetrics

Source code in docs_src/capo_connect/types/participant_metrics.py
class ParticipantMetrics(TypedDict, closed=True):
    participant_id: NotRequired["capo_connect.types.participant_id.ParticipantId"]
    """<p>The Participant's ID.</p>"""
    participant_type: NotRequired["capo_connect.types.participant_type.ParticipantType"]
    """<p>Information about the conversation participant. Following are the participant types: [Agent, Customer, Supervisor].</p>"""
    conversation_abandon: NotRequired[
        "capo_connect.types.nullable_boolean.NullableBoolean"
    ]
    """<p>A boolean flag indicating whether the chat conversation was abandoned by a Participant.</p>"""
    messages_sent: NotRequired["capo_connect.types.count.Count"]
    """<p>Number of chat messages sent by Participant.</p>"""
    num_responses: NotRequired["capo_connect.types.count.Count"]
    """<p>Number of chat messages sent by Participant.</p>"""
    message_length_in_chars: NotRequired["capo_connect.types.count.Count"]
    """<p>Number of chat characters sent by Participant.</p>"""
    total_response_time_in_millis: NotRequired[
        "capo_connect.types.duration_millis.DurationMillis"
    ]
    """<p>Total chat response time by Participant.</p>"""
    max_response_time_in_millis: NotRequired[
        "capo_connect.types.duration_millis.DurationMillis"
    ]
    """<p>Maximum chat response time by Participant.</p>"""
    last_message_timestamp: NotRequired["capo_connect.types.timestamp.Timestamp"]
    """<p>Timestamp of last chat message by Participant.</p>"""

conversation_abandon instance-attribute

conversation_abandon: NotRequired[NullableBoolean]

A boolean flag indicating whether the chat conversation was abandoned by a Participant.

last_message_timestamp instance-attribute

last_message_timestamp: NotRequired[Timestamp]

Timestamp of last chat message by Participant.

max_response_time_in_millis instance-attribute

max_response_time_in_millis: NotRequired[DurationMillis]

Maximum chat response time by Participant.

message_length_in_chars instance-attribute

message_length_in_chars: NotRequired[Count]

Number of chat characters sent by Participant.

messages_sent instance-attribute

messages_sent: NotRequired[Count]

Number of chat messages sent by Participant.

num_responses instance-attribute

num_responses: NotRequired[Count]

Number of chat messages sent by Participant.

participant_id instance-attribute

participant_id: NotRequired[ParticipantId]

The Participant's ID.

participant_type instance-attribute

participant_type: NotRequired[ParticipantType]

Information about the conversation participant. Following are the participant types: [Agent, Customer, Supervisor].

total_response_time_in_millis instance-attribute

total_response_time_in_millis: NotRequired[DurationMillis]

Total chat response time by Participant.