{"id":4973,"date":"2022-07-14T13:39:12","date_gmt":"2022-07-14T08:09:12","guid":{"rendered":"https:\/\/docs.kore.ai\/smartassist\/?p=4973"},"modified":"2022-07-14T13:39:12","modified_gmt":"2022-07-14T08:09:12","slug":"get-agent-desktop-conversations-stats","status":"publish","type":"post","link":"https:\/\/multisite.korebots.com\/agentassist\/get-agent-desktop-conversations-stats\/","title":{"rendered":"Get Agent Desktop Conversations Stats"},"content":{"rendered":"<h2><span class=\"ez-toc-section\" id=\"Overview\"><\/span>Overview<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400\">This method is used to fetch the statuses of Agent Desktop Conversations.<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Request\"><\/span>Request<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>This section describes the information that is available in the request<\/p>\n<table>\n<tbody>\n<tr>\n<th><b>Method<\/b><\/th>\n<th>URL<\/th>\n<th>End Point<\/th>\n<\/tr>\n<tr>\n<td>GET<\/td>\n<td><\/td>\n<td>\/public\/{streamId}\/analytics\/conversations\/stats<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><span class=\"ez-toc-section\" id=\"Request_Parameters\"><\/span>Request Parameters<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<h4><span class=\"ez-toc-section\" id=\"Path_Parameters\"><\/span>Path Parameters<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<table>\n<tbody>\n<tr>\n<th><b>Parameter<\/b><\/th>\n<th><b>Required<\/b><\/th>\n<th><b>Description<\/b><\/th>\n<th><b>Type\/Value<\/b><\/th>\n<\/tr>\n<tr>\n<td>streamId *<\/td>\n<td>\u00a0Y<\/td>\n<td>Stream ID<br \/>\n<span style=\"font-weight: 400\">(e.g. <\/span><span style=\"font-weight: 400\">\u00a0st-606c43de5e00ca5f4e27e38a)<\/span><\/td>\n<td>String<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><span class=\"ez-toc-section\" id=\"Query_Parameters\"><\/span>Query Parameters<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<table>\n<tbody>\n<tr>\n<th><b>Parameter<\/b><\/th>\n<th><b>Required<\/b><\/th>\n<th><b>Description<\/b><\/th>\n<th><b>Type\/Value<\/b><\/th>\n<\/tr>\n<tr>\n<td>startDate\u00a0*<\/td>\n<td>\u00a0Y<\/td>\n<td>Date in ISO81 format<\/td>\n<td>Date<\/td>\n<\/tr>\n<tr>\n<td>endDate *<\/td>\n<td>\u00a0Y<\/td>\n<td>Date in ISO81 format<\/td>\n<td>Date<\/td>\n<\/tr>\n<tr>\n<td>compareStartDate<\/td>\n<td>\u00a0N<\/td>\n<td>Date in ISO81 format<\/td>\n<td>Date<\/td>\n<\/tr>\n<tr>\n<td>compareEndDate<\/td>\n<td>\u00a0N<\/td>\n<td>Date in ISO81 format<\/td>\n<td>Date<\/td>\n<\/tr>\n<tr>\n<td>agentGroupIds[]<\/td>\n<td>\u00a0N<\/td>\n<td>Agent group ids<\/td>\n<td>String<\/td>\n<\/tr>\n<tr>\n<td>agentIds[]<\/td>\n<td>\u00a0N<\/td>\n<td>List of user ids<\/td>\n<td>String<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><span class=\"ez-toc-section\" id=\"Sample_Request\"><\/span>Sample Request<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<pre>TBD<\/pre>\n[\/vc_column_text]<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h2><span class=\"ez-toc-section\" id=\"Response\"><\/span><span style=\"color: #26344a;font-size: 16px;letter-spacing: 0em\">Response<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The following table describes the information that is available in the response.<\/p>\n<p><span style=\"color: #1a1a1a;font-size: 12px\"><\/p>\n<\/div><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p><\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Response_Fields\"><\/span>Response Fields<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<table>\n<tbody>\n<tr>\n<th><b>Parameter<\/b><\/th>\n<th><b>Required\/Optional<\/b><\/th>\n<th><b>Description<\/b><\/th>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div><\/div><div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h3><span class=\"ez-toc-section\" id=\"Authorization\"><\/span>Authorization<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span style=\"font-weight: 400\">Invoke the API with JWT in the header with the following syntax:<\/span><\/p>\n<pre><span style=\"font-weight: 400\">auth: {{JWT}}<\/span><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Response_Content_Type\"><\/span>Response Content Type<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><code>application\/json<\/code><\/p>\n<\/div><\/div><div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h3><span class=\"ez-toc-section\" id=\"Sample_Response\"><\/span>Sample Response<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<pre><span style=\"font-weight: 400\">{<\/span>\n\n<span style=\"font-weight: 400\">\"active\": {<\/span>\n\n<span style=\"font-weight: 400\">\"total\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"previous\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"percentageChange\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"call\": {<\/span>\n\n<span style=\"font-weight: 400\">\"total\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"previous\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"percentageChange\": 10<\/span>\n\n<span style=\"font-weight: 400\">},<\/span>\n\n<span style=\"font-weight: 400\">\"chat\": {<\/span>\n\n<span style=\"font-weight: 400\">\"total\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"previous\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"percentageChange\": 10<\/span>\n\n<span style=\"font-weight: 400\">},<\/span>\n\n<span style=\"font-weight: 400\">\"email\": {<\/span>\n\n<span style=\"font-weight: 400\">\"total\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"previous\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"percentageChange\": 10<\/span>\n\n<span style=\"font-weight: 400\">}<\/span>\n\n<span style=\"font-weight: 400\">},<\/span>\n\n<span style=\"font-weight: 400\">\"recentlyClosed\": {<\/span>\n\n<span style=\"font-weight: 400\">\"total\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"previous\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"percentageChange\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"call\": {<\/span>\n\n<span style=\"font-weight: 400\">\"total\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"previous\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"percentageChange\": 10<\/span>\n\n<span style=\"font-weight: 400\">},<\/span>\n\n<span style=\"font-weight: 400\">\"chat\": {<\/span>\n\n<span style=\"font-weight: 400\">\"total\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"previous\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"percentageChange\": 10<\/span>\n\n<span style=\"font-weight: 400\">},<\/span>\n\n<span style=\"font-weight: 400\">\"email\": {<\/span>\n\n<span style=\"font-weight: 400\">\"total\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"previous\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"percentageChange\": 10<\/span>\n\n<span style=\"font-weight: 400\">}<\/span>\n\n<span style=\"font-weight: 400\">},<\/span>\n\n<span style=\"font-weight: 400\">\"idle\": {<\/span>\n\n<span style=\"font-weight: 400\">\"total\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"previous\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"percentageChange\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"chat\": {<\/span>\n\n<span style=\"font-weight: 400\">\"total\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"previous\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"percentageChange\": 10<\/span>\n\n<span style=\"font-weight: 400\">},<\/span>\n\n<span style=\"font-weight: 400\">\"email\": {<\/span>\n\n<span style=\"font-weight: 400\">\"total\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"previous\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"percentageChange\": 10<\/span>\n\n<span style=\"font-weight: 400\">}<\/span>\n\n<span style=\"font-weight: 400\">},<\/span>\n\n<span style=\"font-weight: 400\">\"abandoned\": {<\/span>\n\n<span style=\"font-weight: 400\">\"total\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"previous\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"percentageChange\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"call\": {<\/span>\n\n<span style=\"font-weight: 400\">\"total\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"previous\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"percentageChange\": 10<\/span>\n\n<span style=\"font-weight: 400\">},<\/span>\n\n<span style=\"font-weight: 400\">\"chat\": {<\/span>\n\n<span style=\"font-weight: 400\">\"total\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"previous\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"percentageChange\": 10<\/span>\n\n<span style=\"font-weight: 400\">}<\/span>\n\n<span style=\"font-weight: 400\">},<\/span>\n\n<span style=\"font-weight: 400\">\"deflection\": {<\/span>\n\n<span style=\"font-weight: 400\">\"total\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"previous\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"percentageChange\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"chat\": {<\/span>\n\n<span style=\"font-weight: 400\">\"total\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"previous\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"percentageChange\": 10<\/span>\n\n<span style=\"font-weight: 400\">},<\/span>\n\n<span style=\"font-weight: 400\">\"email\": {<\/span>\n\n<span style=\"font-weight: 400\">\"total\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"previous\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"percentageChange\": 10<\/span>\n\n<span style=\"font-weight: 400\">}<\/span>\n\n<span style=\"font-weight: 400\">},<\/span>\n\n<span style=\"font-weight: 400\">\"callback\": {<\/span>\n\n<span style=\"font-weight: 400\">\"total\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"previous\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"percentageChange\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"call\": {<\/span>\n\n<span style=\"font-weight: 400\">\"total\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"previous\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"percentageChange\": 10<\/span>\n\n<span style=\"font-weight: 400\">},<\/span>\n\n<span style=\"font-weight: 400\">\"chat\": {<\/span>\n\n<span style=\"font-weight: 400\">\"total\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"previous\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"percentageChange\": 10<\/span>\n\n<span style=\"font-weight: 400\">},<\/span>\n\n<span style=\"font-weight: 400\">\"email\": {<\/span>\n\n<span style=\"font-weight: 400\">\"total\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"previous\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"percentageChange\": 10<\/span>\n\n<span style=\"font-weight: 400\">}<\/span>\n\n<span style=\"font-weight: 400\">},<\/span>\n\n<span style=\"font-weight: 400\">\"callbackOpted\": {<\/span>\n\n<span style=\"font-weight: 400\">\"total\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"previous\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"percentageChange\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"call\": {<\/span>\n\n<span style=\"font-weight: 400\">\"total\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"previous\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"percentageChange\": 10<\/span>\n\n<span style=\"font-weight: 400\">},<\/span>\n\n<span style=\"font-weight: 400\">\"chat\": {<\/span>\n\n<span style=\"font-weight: 400\">\"total\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"previous\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"percentageChange\": 10<\/span>\n\n<span style=\"font-weight: 400\">},<\/span>\n\n<span style=\"font-weight: 400\">\"email\": {<\/span>\n\n<span style=\"font-weight: 400\">\"total\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"previous\": 10,<\/span>\n\n<span style=\"font-weight: 400\">\"percentageChange\": 10<\/span>\n\n<span style=\"font-weight: 400\">}<\/span>\n\n<span style=\"font-weight: 400\">}<\/span>\n\n<span style=\"font-weight: 400\">}<\/span><\/pre>\n<\/div><\/div><div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>[\/vc_column][\/vc_row]\n","protected":false},"excerpt":{"rendered":"<p>Overview This method is used to fetch the statuses of Agent Desktop Conversations. Request This section describes the information that is available in the request Method URL End Point GET \/public\/{streamId}\/analytics\/conversations\/stats Request Parameters Path Parameters Parameter Required Description Type\/Value streamId * \u00a0Y Stream ID (e.g. \u00a0st-606c43de5e00ca5f4e27e38a) String Query Parameters Parameter Required Description Type\/Value startDate\u00a0* \u00a0Y&#8230;<\/p>\n","protected":false},"author":23,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/multisite.korebots.com\/agentassist\/wp-json\/wp\/v2\/posts\/4973"}],"collection":[{"href":"https:\/\/multisite.korebots.com\/agentassist\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/multisite.korebots.com\/agentassist\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/multisite.korebots.com\/agentassist\/wp-json\/wp\/v2\/users\/23"}],"replies":[{"embeddable":true,"href":"https:\/\/multisite.korebots.com\/agentassist\/wp-json\/wp\/v2\/comments?post=4973"}],"version-history":[{"count":0,"href":"https:\/\/multisite.korebots.com\/agentassist\/wp-json\/wp\/v2\/posts\/4973\/revisions"}],"wp:attachment":[{"href":"https:\/\/multisite.korebots.com\/agentassist\/wp-json\/wp\/v2\/media?parent=4973"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/multisite.korebots.com\/agentassist\/wp-json\/wp\/v2\/categories?post=4973"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/multisite.korebots.com\/agentassist\/wp-json\/wp\/v2\/tags?post=4973"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}