# Conversation statistics

Schema: #/components/schemas/conversation_statistics

Method: SCHEMA
Version: 2.7
Security: bearerAuth

## Schema fields:

  - `type` (string)
    Example: conversation_statistics

  - `time_to_assignment` (integer)
    Duration until last assignment before first admin reply. In seconds.
    Example: 2310

  - `time_to_admin_reply` (integer)
    Duration until first admin reply. Subtracts out of business hours. In seconds.
    Example: 2310

  - `time_to_first_close` (integer)
    Duration until conversation was closed first time. Subtracts out of business hours. In seconds.
    Example: 2310

  - `time_to_last_close` (integer)
    Duration until conversation was closed last time. Subtracts out of business hours. In seconds.
    Example: 2310

  - `median_time_to_reply` (integer)
    Median based on all admin replies after a contact reply. Subtracts out of business hours. In seconds.
    Example: 2310

  - `first_contact_reply_at` (integer)
    Time of first text conversation part from a contact.
    Example: 1663597233

  - `first_assignment_at` (integer)
    Time of first assignment after first_contact_reply_at.
    Example: 1663597233

  - `first_admin_reply_at` (integer)
    Time of first admin reply after first_contact_reply_at.
    Example: 1663597233

  - `first_close_at` (integer)
    Time of first close after first_contact_reply_at.
    Example: 1663597233

  - `last_assignment_at` (integer)
    Time of last assignment after first_contact_reply_at.
    Example: 1663597233

  - `last_assignment_admin_reply_at` (integer)
    Time of first admin reply since most recent assignment.
    Example: 1663597233

  - `last_contact_reply_at` (integer)
    Time of the last conversation part from a contact.
    Example: 1663597233

  - `last_admin_reply_at` (integer)
    Time of the last conversation part from an admin.
    Example: 1663597233

  - `last_close_at` (integer)
    Time of the last conversation close.
    Example: 1663597233

  - `last_closed_by_id` (string)
    The last admin who closed the conversation. Returns a reference to an Admin object.
    Example: c3po

  - `count_reopens` (integer)
    Number of reopens after first_contact_reply_at.
    Example: 1

  - `count_assignments` (integer)
    Number of assignments after first_contact_reply_at.
    Example: 1

  - `count_conversation_parts` (integer)
    Total number of conversation parts.
    Example: 1

