Skip to content

ContactMetricResult

Source code in docs_src/capo_connect/types/contact_metric_result.py
class ContactMetricResult(TypedDict, closed=True):
    name: "capo_connect.types.contact_metric_name.ContactMetricName"
    """<p>The name of the metric that was retrieved. This corresponds to the metric name specified in the request, such as POSITION_IN_QUEUE or ESTIMATED_WAIT_TIME.</p>"""
    value: "capo_connect.types.contact_metric_value.ContactMetricValue"
    """<p>The calculated value for the requested metric. This object contains the numeric result based on the contact's current state in the queue.</p>"""

name instance-attribute

The name of the metric that was retrieved. This corresponds to the metric name specified in the request, such as POSITION_IN_QUEUE or ESTIMATED_WAIT_TIME.

value instance-attribute

The calculated value for the requested metric. This object contains the numeric result based on the contact's current state in the queue.