{"id":5194,"date":"2022-07-08T11:23:24","date_gmt":"2022-07-08T05:53:24","guid":{"rendered":"https:\/\/docs.kore.ai\/smartassist\/?p=5194"},"modified":"2022-07-08T11:23:24","modified_gmt":"2022-07-08T05:53:24","slug":"get-agent-operational-metrics-of-last-24-hours","status":"publish","type":"post","link":"https:\/\/multisite.korebots.com\/agentassist\/get-agent-operational-metrics-of-last-24-hours\/","title":{"rendered":"Get Agent Operational Metrics of Last 24 hours"},"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 agent operational metrics of the last 24 hrs.<\/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>\n<pre>GET<\/pre>\n<\/td>\n<td><\/td>\n<td>\n<pre>\/public\/{streamId}\/analytics\/agents\/me\/ops-summary<\/pre>\n<\/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<p>No Request parameters.<\/p>\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<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<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 class=\"example microlight\"><code>{\n  <span class=\"hljs-attr\">\"avgCSAT\"<\/span>: 3.1,\n  <span class=\"hljs-attr\">\"totalCalls\"<\/span>: 10,\n  <span class=\"hljs-attr\">\"resolved\"<\/span>: 5,\n  <span class=\"hljs-attr\">\"avgHandleTime\"<\/span>: 4.32\n}<\/code><\/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>\n","protected":false},"excerpt":{"rendered":"<p>Overview This method is used to fetch agent operational metrics of the last 24 hrs. Request This section describes the information that is available in the request. Method URL End Point GET \/public\/{streamId}\/analytics\/agents\/me\/ops-summary Request Parameters No Request parameters. Sample Request TBD<\/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\/5194"}],"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=5194"}],"version-history":[{"count":0,"href":"https:\/\/multisite.korebots.com\/agentassist\/wp-json\/wp\/v2\/posts\/5194\/revisions"}],"wp:attachment":[{"href":"https:\/\/multisite.korebots.com\/agentassist\/wp-json\/wp\/v2\/media?parent=5194"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/multisite.korebots.com\/agentassist\/wp-json\/wp\/v2\/categories?post=5194"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/multisite.korebots.com\/agentassist\/wp-json\/wp\/v2\/tags?post=5194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}