{
  "opencollection": "1.0.0",
  "info": {
    "name": "Helpcenter IM_Metrics API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "IM_Metrics",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Agents Metrics",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v1/im/metrics/agents",
            "params": [
              {
                "name": "duration",
                "value": "",
                "type": "query",
                "description": "Duration to filter the metrics. Available values are @LAST24HOURS@, @TODAY@, @YESTERDAY@, @LAST_7_DAYS@, @LAST_30_DAYS@, @THIS_WEEK@, @LAST_WEEK@, @THIS_MONTH@, @LAST_MONTH@, @CUSTOM_IN_DATE@, @LAST_1_HOUR@"
              },
              {
                "name": "agentIds",
                "value": "",
                "type": "query",
                "description": "To filter Agent Metrics only for particular Agents. It's a Optional Param"
              },
              {
                "name": "attributeGroup",
                "value": "",
                "type": "query",
                "description": "Denotes which attribute group data is required. Eg: RESPONSIVENESS - AVG_RESPONSE_TIME comes under responsiveness group. It's Mandatory Param. Available value is @RESPONSIVENESS@"
              },
              {
                "name": "departmentId",
                "value": "",
                "type": "query",
                "description": "Filter agent metrics in given department Id"
              },
              {
                "name": "attributes",
                "value": "",
                "type": "query",
                "description": "Denotes which metrics are required in the response. Its a mandatory Param. Eg: AVG_RESPONSE_TIME of agent.This is a list-based parameter you can pass all the values or the rquired ones. Available values are @ATTENDED_CHATS@, @AVG_PICKUP_TIME@, @AVG_FIRST_RESPONSE_TIME@, @AVG_RESPONSE_TIME@"
              },
              {
                "name": "integrationService",
                "value": "",
                "type": "query",
                "description": "Agent metrics for a particular integration service. Available values are @TELEGRAM@, @TWILIO@, @LINE@, @WECHAT@, @WHATSAPP@, @FACEBOOKMESSENGER@, @INSTAGRAM@"
              },
              {
                "name": "channelIds",
                "value": "",
                "type": "query",
                "description": "To filter Agent Metrics only on a list of channelIds. It's a Optional Param"
              }
            ]
          },
          "docs": "This data provides leads/managers with a holistic details into agents performance and can be used in coaching them."
        }
      ]
    }
  ],
  "bundled": true
}