{"info":{"_postman_id":"6105cb3f-72aa-4d4e-836e-f50f96c9a933","name":"LivePublicApi","description":"<html><head></head><body><h1 id=\"api-publica-de-live-chat-documentacion\">API Pública de Live Chat - Documentación</h1>\n<h2 id=\"descripción-general\">Descripción General</h2>\n<p>La API Pública de Live Chat proporciona acceso programático a datos y métricas de conversaciones en tiempo real y históricas. Esta API permite a los desarrolladores integrar capacidades de reporting, análisis y exportación de datos de chat en sus aplicaciones y sistemas empresariales.</p>\n<h2 id=\"características-principales\">Características Principales</h2>\n<ul>\n<li><p><strong>Reportes de Conversaciones</strong>: Acceso a historial completo de conversaciones con información detallada de participantes, tiempos y resoluciones</p>\n</li>\n<li><p><strong>Métricas de Desempeño</strong>: Estadísticas agregadas de conversaciones, tiempos de respuesta y tasas de finalización</p>\n</li>\n<li><p><strong>Análisis de Agentes</strong>: Métricas individuales de productividad, tiempos de sesión y feedback de clientes</p>\n</li>\n<li><p><strong>Cumplimiento de SLA</strong>: Monitoreo de tiempos de respuesta y cumplimiento de acuerdos de nivel de servicio por grupo</p>\n</li>\n<li><p><strong>Datos Históricos</strong>: Visualización de tendencias mediante histogramas y resúmenes agrupados por tiempo</p>\n</li>\n<li><p><strong>Exportación de Datos</strong>: Descarga de datos en formato CSV para análisis externo</p>\n</li>\n</ul>\n<h2 id=\"url-base\">URL Base</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>https://live-public-api.agentbot.net\n\n</code></pre><h2 id=\"autenticación\">Autenticación</h2>\n<p><em>(Nota: Especificar el método de autenticación utilizado - API Key, OAuth, Bearer Token, etc.)</em></p>\n<p>Todas las solicitudes a la API deben incluir credenciales de autenticación válidas. Consulte la sección de autenticación para más detalles sobre cómo obtener y utilizar sus credenciales.</p>\n<h2 id=\"formato-de-respuesta\">Formato de Respuesta</h2>\n<p>Todas las respuestas de la API se devuelven en formato JSON, excepto el endpoint de exportación que devuelve archivos CSV.</p>\n<p><strong>Content-Type:</strong> <code>application/json</code> (para la mayoría de endpoints)<br><strong>Content-Type:</strong> <code>text/csv; charset=utf-8</code> (para endpoints de exportación)</p>\n<h2 id=\"parámetros-comunes\">Parámetros Comunes</h2>\n<h3 id=\"parámetros-de-fecha\">Parámetros de Fecha</h3>\n<p>La mayoría de los endpoints requieren parámetros de rango de fechas:</p>\n<ul>\n<li><p><strong>from</strong>: Fecha y hora de inicio (formato: <code>yyyy-MM-dd HH:mm:ss</code>)</p>\n</li>\n<li><p><strong>to</strong>: Fecha y hora de fin (formato: <code>yyyy-MM-dd HH:mm:ss</code>)</p>\n</li>\n</ul>\n<p><strong>Ejemplo:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>from=2025-12-01 00:00:00\nto=2025-12-07 23:59:59\n\n</code></pre><h3 id=\"parámetros-de-frecuencia\">Parámetros de Frecuencia</h3>\n<p>Algunos endpoints permiten agrupar datos por frecuencia temporal:</p>\n<ul>\n<li><p><code>HALF-HOUR</code>: Media hora</p>\n</li>\n<li><p><code>HOUR</code>: Hora</p>\n</li>\n<li><p><code>DAY</code>: Día</p>\n</li>\n<li><p><code>WEEK</code>: Semana</p>\n</li>\n<li><p><code>MONTH</code>: Mes</p>\n</li>\n</ul>\n<h3 id=\"parámetros-opcionales\">Parámetros Opcionales</h3>\n<p>Consulte la documentación de cada endpoint para parámetros opcionales específicos como filtros por grupo, agente, protocolo, etc.</p>\n<h2 id=\"límites-de-consulta\">Límites de Consulta</h2>\n<p>Algunos endpoints tienen restricciones en el rango de fechas según la frecuencia seleccionada:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>EndpointFrecuenciaLímite Máximo/histogramHALF-HOUR7 días/histogramHOUR7 días/histogramWEEK1 mes/histogramMONTH1 año/summaryHALF-HOUR7 días/summaryHOUR7 días/summaryWEEK1 mes/summaryMONTH1 año/conversation/list-7 días/conversation/stats-7 días\n\n</code></pre><h2 id=\"endpoints-disponibles\">Endpoints Disponibles</h2>\n<h3 id=\"conversaciones\">Conversaciones</h3>\n<ul>\n<li><p><strong>GET</strong> <code>/live/public/conversation/list</code> - Lista detallada de conversaciones</p>\n</li>\n<li><p><strong>GET</strong> <code>/live/public/conversation/stats</code> - Estadísticas agregadas de conversaciones</p>\n</li>\n<li><p><strong>GET</strong> <code>/live/public/conversation/sla</code> - Métricas de cumplimiento de SLA</p>\n</li>\n</ul>\n<h3 id=\"análisis-y-reportes\">Análisis y Reportes</h3>\n<ul>\n<li><p><strong>GET</strong> <code>/live/public/histogram</code> - Histograma de conversaciones por período</p>\n</li>\n<li><p><strong>GET</strong> <code>/live/public/summary</code> - Resumen detallado con múltiples métricas</p>\n</li>\n<li><p><strong>GET</strong> <code>/live/public/agent/performance</code> - Reporte de desempeño de agentes</p>\n</li>\n</ul>\n<h3 id=\"exportación\">Exportación</h3>\n<ul>\n<li><strong>GET</strong> <code>/live/public/export-simple</code> - Exportación de datos en formato CSV</li>\n</ul>\n<h2 id=\"códigos-de-estado-http\">Códigos de Estado HTTP</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>CódigoDescripción200Solicitud exitosa400Solicitud inválida (parámetros incorrectos o faltantes)401No autenticado (credenciales faltantes o inválidas)403Prohibido (sin permisos para acceder al recurso)404Recurso no encontrado429Demasiadas solicitudes (límite de rate limit excedido)500Error interno del servidor\n\n</code></pre><h2 id=\"manejo-de-errores\">Manejo de Errores</h2>\n<p>Las respuestas de error incluyen información detallada sobre el problema:</p>\n<p>json</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"error\": {\n        \"code\": \"INVALID_DATE_RANGE\",\n        \"message\": \"El rango de fechas excede el límite máximo permitido para la frecuencia seleccionada\",\n        \"details\": {\n            \"max_range\": \"7 days\",\n            \"provided_range\": \"15 days\",\n            \"frequency\": \"HOUR\"\n        }\n    }\n}\n\n</code></pre><h2 id=\"soporte-de-idiomas\">Soporte de Idiomas</h2>\n<p>Algunos endpoints, como <code>/export-simple</code>, soportan múltiples idiomas para encabezados y etiquetas:</p>\n<ul>\n<li><p><code>es</code> - Español</p>\n</li>\n<li><p><code>en</code> - Inglés</p>\n</li>\n<li><p><code>pt</code> - Portugués</p>\n</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"API Pública de Live Chat - Documentación","slug":"api-publica-de-live-chat-documentacion"}],"owner":"14164916","collectionId":"6105cb3f-72aa-4d4e-836e-f50f96c9a933","publishedId":"UVRBnRta","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-12-21T14:02:14.000Z"},"item":[{"name":"SLA","id":"3c89730e-8d3b-4106-8b2b-3466c99901bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"X-Token","value":"<x-token>","type":"text"},{"key":"Authorization","value":"Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Im9TbC1DYkRMamRFWWV0WVU1VTlhaCJ9.eyJodHRwczovL2hhc3VyYS5pby9qd3QvY2xhaW1zIjp7IngtYWx0ZXJuYXRpdmVfaWQiOiIiLCJ4LWN1cnJlbnRfdXNlcl9yb2xlcyI6W10sIngtaGFzdXJhLWFsbG93ZWQtcm9sZXMiOlsidXNlciJdLCJ4LWhhc3VyYS1kZWZhdWx0LXJvbGUiOiJ1c2VyIiwieC1oYXN1cmEtdXNlci1pZCI6ImF1dGgwfDY0NGFiOTVmMjA1MzFhYWQxMjhhZWQ3MyJ9LCJuaWNrbmFtZSI6Im1zb2xhbm8iLCJuYW1lIjoiTWFyY29zIiwicGljdHVyZSI6Imh0dHBzOi8vcy5ncmF2YXRhci5jb20vYXZhdGFyLzk0YmRhMDFhNWI5MTY3OGUwNTNhNGMwY2ZhZmJhNTU0P3M9NDgwJnI9cGcmZD1odHRwcyUzQSUyRiUyRmNkbi5hdXRoMC5jb20lMkZhdmF0YXJzJTJGbWEucG5nIiwidXBkYXRlZF9hdCI6IjIwMjUtMTItMTBUMTY6MTc6MDguMDk0WiIsImVtYWlsIjoibXNvbGFub0BhaXZvLmNvIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImlzcyI6Imh0dHBzOi8vYWl2b3Rlc3QuYXV0aDAuY29tLyIsImF1ZCI6Ik10SWlwbEVLak4xVUNxV2l5RjhFbG1pc1hKZ0NOWU1tIiwic3ViIjoiYXV0aDB8NjQ0YWI5NWYyMDUzMWFhZDEyOGFlZDczIiwiaWF0IjoxNzY1MzgzNDMwLCJleHAiOjE3NjU0MTk0MzB9.0b7ru8TL5rnNmsf65fWbukdiJQL41dIR1_sh1MM9zehOs0jbPu-ehFQXoNjWPRc4Zm2CvgbD7drcZVJYJiuUK2slWXNMtbP4NsV-nGvjzvmySgOkHDHW26lF1r8wWxrhXsDBmitSIXWfFDp3jzRakdeWAUfLnhib8a0raZgwwg71ABfp1ax4SUWKcHZZdlLGdVFKwmLRL_5dX3tVzgPi4NvBA-5qjFNULJa5Qm0fqeFXfWf-53kgXtxqP9o7yEbambN6aw4ti2iRjTUA6xNgqdSB06hxd0iFtfIT_D-PNhFAOJ-iGgXYJKVm3RWYrTKmgrLSZLRZOocpYeJBjeUPQg","type":"text"}],"url":"https://live-public-api.agentbot.net/conversation/sla?from=2025-12-01 00:00:00&to=2025-12-07 23:59:59","description":"<h1 id=\"get-sla-feedback\">Get SLA Feedback</h1>\n<p>Returns the SLA (Service Level Agreement) metrics of conversations grouped by team/group.</p>\n<h2 id=\"endpoint\">Endpoint</h2>\n<ul>\n<li><p><strong>URL:</strong> <a href=\"https://live-public-api.agentbot.net/conversation/sla\">https://live-public-api.agentbot.net/conversation/sla</a></p>\n</li>\n<li><p><strong>Method:</strong> <code>GET</code></p>\n</li>\n</ul>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<h3 id=\"required-parameters\">Required Parameters</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>ParameterTypeDescriptionfromstringStart date for the report period (format: ISO 8601 or yyyy-MM-dd)tostringEnd date for the report period (format: ISO 8601 or yyyy-MM-dd)\n\n</code></pre><h3 id=\"optional-parameters\">Optional Parameters</h3>\n<p>Common optional parameters apply (refer to general API documentation).</p>\n<h2 id=\"response\">Response</h2>\n<h3 id=\"success-response\">Success Response</h3>\n<p><strong>Code:</strong> <code>200 OK</code></p>\n<p><strong>Response Structure:</strong></p>\n<p>json</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"groups\": [\n        {\n            \"averageTotalQueueTime\": \"00:00:53\",\n            \"averageWithSLA\": 100,\n            \"finalized\": 3,\n            \"groupId\": 3561,\n            \"groupName\": \"test tomi update1\",\n            \"sla\": \"00:01:01\",\n            \"slaAverage\": \"00:00:53\",\n            \"timeDiff\": \"00:00:53\",\n            \"totalQueueTime\": \"00:04:28\"\n        },\n        {\n            \"averageTotalQueueTime\": \"00:01:21\",\n            \"averageWithSLA\": 0,\n            \"finalized\": 1,\n            \"groupId\": 3818,\n            \"groupName\": \"Yury\",\n            \"sla\": \"00:00:00\",\n            \"slaAverage\": \"00:01:21\",\n            \"timeDiff\": \"00:01:21\",\n            \"totalQueueTime\": \"00:05:26\"\n        }\n    ]\n}\n\n</code></pre><h3 id=\"response-fields\">Response Fields</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>FieldTypeDescriptiongroupsarrayArray containing SLA metrics for each groupgroupIdintegerUnique identifier of the group/teamgroupNamestringName of the group/teamfinalizedintegerNumber of conversations successfully finalized in the periodtotalQueueTimestring (HH:MM:SS)Total cumulative queue time for all conversationsslastring (HH:MM:SS)Configured SLA target time for the groupaverageTotalQueueTimestring (HH:MM:SS)Average queue time per conversationslaAveragestring (HH:MM:SS)Average time including SLA considerationtimeDiffstring (HH:MM:SS)Time difference between SLA target and actual performanceaverageWithSLAnumberPercentage of conversations meeting SLA target (0-100)\n\n</code></pre><h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p><code>averageWithSLA</code> value of <code>100</code> indicates all conversations met the SLA target</p>\n</li>\n<li><p><code>averageWithSLA</code> value of <code>0</code> indicates no conversations met the SLA target</p>\n</li>\n<li><p>Time values are formatted as <code>HH:MM:SS</code></p>\n</li>\n<li><p><code>sla</code> value of <code>\"00:00:00\"</code> indicates no SLA is configured for that group</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["conversation","sla"],"host":["live-public-api","agentbot","net"],"query":[{"disabled":true,"key":"rows","value":"20"},{"disabled":true,"key":"limit","value":"1"},{"disabled":true,"key":"offset","value":"2"},{"disabled":true,"key":"","value":null},{"key":"from","value":"2025-12-01 00:00:00"},{"key":"to","value":"2025-12-07 23:59:59"}],"variable":[]}},"response":[],"_postman_id":"3c89730e-8d3b-4106-8b2b-3466c99901bb"},{"name":"Export Simple List","id":"f7b5a414-c6c0-442b-b0aa-2a41a46508ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"X-Token","value":"<x-token>","type":"text"},{"key":"Authorization","value":"Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Im9TbC1DYkRMamRFWWV0WVU1VTlhaCJ9.eyJodHRwczovL2hhc3VyYS5pby9qd3QvY2xhaW1zIjp7IngtYWx0ZXJuYXRpdmVfaWQiOiIiLCJ4LWN1cnJlbnRfdXNlcl9yb2xlcyI6W10sIngtaGFzdXJhLWFsbG93ZWQtcm9sZXMiOlsidXNlciJdLCJ4LWhhc3VyYS1kZWZhdWx0LXJvbGUiOiJ1c2VyIiwieC1oYXN1cmEtdXNlci1pZCI6ImF1dGgwfDY0NGFiOTVmMjA1MzFhYWQxMjhhZWQ3MyJ9LCJuaWNrbmFtZSI6Im1zb2xhbm8iLCJuYW1lIjoiTWFyY29zIiwicGljdHVyZSI6Imh0dHBzOi8vcy5ncmF2YXRhci5jb20vYXZhdGFyLzk0YmRhMDFhNWI5MTY3OGUwNTNhNGMwY2ZhZmJhNTU0P3M9NDgwJnI9cGcmZD1odHRwcyUzQSUyRiUyRmNkbi5hdXRoMC5jb20lMkZhdmF0YXJzJTJGbWEucG5nIiwidXBkYXRlZF9hdCI6IjIwMjUtMTItMTBUMTY6MTc6MDguMDk0WiIsImVtYWlsIjoibXNvbGFub0BhaXZvLmNvIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImlzcyI6Imh0dHBzOi8vYWl2b3Rlc3QuYXV0aDAuY29tLyIsImF1ZCI6Ik10SWlwbEVLak4xVUNxV2l5RjhFbG1pc1hKZ0NOWU1tIiwic3ViIjoiYXV0aDB8NjQ0YWI5NWYyMDUzMWFhZDEyOGFlZDczIiwiaWF0IjoxNzY1MzgzNDMwLCJleHAiOjE3NjU0MTk0MzB9.0b7ru8TL5rnNmsf65fWbukdiJQL41dIR1_sh1MM9zehOs0jbPu-ehFQXoNjWPRc4Zm2CvgbD7drcZVJYJiuUK2slWXNMtbP4NsV-nGvjzvmySgOkHDHW26lF1r8wWxrhXsDBmitSIXWfFDp3jzRakdeWAUfLnhib8a0raZgwwg71ABfp1ax4SUWKcHZZdlLGdVFKwmLRL_5dX3tVzgPi4NvBA-5qjFNULJa5Qm0fqeFXfWf-53kgXtxqP9o7yEbambN6aw4ti2iRjTUA6xNgqdSB06hxd0iFtfIT_D-PNhFAOJ-iGgXYJKVm3RWYrTKmgrLSZLRZOocpYeJBjeUPQg","type":"text"}],"url":"https://live-public-api.agentbot.net/export-simple?from=2025-11-12%2000:00:12&to=2025-11-18%2023:59:59&frequency=day&language=es","description":"<h1 id=\"exportar-reporte-simple\">Exportar Reporte Simple</h1>\n<p>Exporta datos de conversaciones en formato CSV con información detallada sobre cada conversación, incluyendo tiempos, participantes, resolución y feedback.</p>\n<h2 id=\"endpoint\">Endpoint</h2>\n<ul>\n<li><p><strong>URL:</strong> <a href=\"https://live-public-api.agentbot.net/conversation/export-simple\">https://live-public-api.agentbot.net/conversation/export-simple</a></p>\n</li>\n<li><p><strong>Método:</strong> <code>GET</code></p>\n</li>\n</ul>\n<h2 id=\"parámetros-de-la-solicitud\">Parámetros de la Solicitud</h2>\n<h3 id=\"parámetros-requeridos\">Parámetros Requeridos</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>ParámetroTipoDescripciónfromstringFecha y hora de inicio del período de exportación (formato: yyyy-MM-dd HH:mm:ss, codificado en URL)tostringFecha y hora de fin del período de exportación (formato: yyyy-MM-dd HH:mm:ss, codificado en URL)frequencystringFrecuencia/granularidad de la exportación. Valores aceptados: day, week, monthlanguagestringIdioma para los encabezados de columnas y etiquetas. Parámetro obligatorio. Valores aceptados: es (Español), en (Inglés), pt (Portugués)\n\n</code></pre><h3 id=\"parámetros-opcionales\">Parámetros Opcionales</h3>\n<p>Se aplican los parámetros opcionales comunes (consultar la documentación general de la API).</p>\n<h2 id=\"respuesta\">Respuesta</h2>\n<h3 id=\"respuesta-exitosa\">Respuesta Exitosa</h3>\n<p><strong>Código:</strong> <code>200 OK</code></p>\n<p><strong>Content-Type:</strong> <code>text/csv; charset=utf-8</code></p>\n<p><strong>Estructura de la Respuesta (formato CSV):</strong></p>\n<p>La respuesta es un archivo CSV con las siguientes columnas:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Nombre de ColumnaTipoDescripciónHora de derivacióndatetimeFecha y hora en que la conversación fue puesta en colaHora de iniciodatetimeFecha y hora en que la conversación comenzóHora de findatetimeFecha y hora en que la conversación finalizóTiempo de respuestatime (HH:MM:SS)Tiempo que tomó responder al usuarioTiempo de operacióntime (HH:MM:SS)Tiempo total de operación/manejoId de salastring (UUID)Identificador único de la sala de conversaciónClientestringNombre o identificador del clienteAgentestringNombre(s) del/los agente(s) que atendieron la conversación (múltiples agentes separados por \"-\")TemasstringTemas discutidos en la conversaciónCanalstringCanal de comunicación (ej: \"Web\", \"WhatsApp\")Tiempo de conversacióntime (HH:MM:SS)Duración neta de la conversaciónResoluciónstringCómo se cerró la conversación (ej: \"Agente\", \"Cliente\", \"Disparador\", \"Falla Conexión/Agente\")FeedbackstringEstado o valor del feedback del clienteGrupostringGrupo(s) que atendieron la conversación (múltiples grupos separados por \"-\")NotastringNotas agregadas a la conversaciónEtiquetasstringEtiquetas asociadas con la conversaciónSession IDstringIdentificador de sesiónTeléfonostringNúmero de teléfono del clienteRegiónstringRegión geográfica del cliente\n\n</code></pre><h3 id=\"ejemplo-csv-español\">Ejemplo CSV (Español):</h3>\n<p>csv</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Hora de derivación,Hora de inicio,Hora de fin,Tiempo de respuesta,Tiempo de operación,Id de sala,Cliente,Agente,Temas,Canal,Tiempo de conversación,Resolución,Feedback,Grupo,Nota,Etiquetas,Session ID,Teléfono,Región\n2025-11-18 14:48:36,2025-11-18 14:48:39,2025-11-18 14:49:10,00:00:00,00:00:00,880f47f4-34c8-409a-aa6e-68ff9fabb0ec,Desconocido,yegor Test 2,,Web,00:00:00,Disparador,Sin feedback,Grupo de Pika,,,40429635,,\n2025-11-14 12:23:23,2025-11-14 12:23:28,2025-11-14 12:50:53,00:03:44,00:27:30,c80e1e52-9320-4517-97d8-bfea27292b60,Brian :alegría:,Yury SupAgente-yegor Test 2,,WhatsApp,00:23:23,Agente,Sin feedback,Async Flow-Grupo de Pika,,,40235329,50245948049,\n\n</code></pre><h3 id=\"notas-sobre-los-datos-de-respuesta\">Notas sobre los Datos de Respuesta</h3>\n<ul>\n<li><p><strong>Campos vacíos</strong>: Los valores de cadena vacía indican que no hay datos disponibles para ese campo</p>\n</li>\n<li><p><strong>Valores múltiples</strong>: Cuando una conversación involucra múltiples agentes o grupos, los nombres se separan por \"-\" (guión)</p>\n</li>\n<li><p><strong>Formato de tiempo</strong>: Todos los campos de tiempo usan el formato <code>HH:MM:SS</code></p>\n</li>\n<li><p><strong>Formato de fecha/hora</strong>: Todos los campos de fecha/hora usan el formato <code>yyyy-MM-dd HH:mm:ss</code></p>\n</li>\n<li><p><strong>Tiempos negativos</strong>: En casos raros, el <code>Tiempo de respuesta</code> puede mostrar valores negativos (ej: <code>-1:-40:-19</code>) indicando anomalías en el cálculo de tiempos</p>\n</li>\n<li><p><strong>Tipos de resolución</strong>: Los valores comunes incluyen:</p>\n<ul>\n<li><p><code>Agente</code> - Cerrado por el agente</p>\n</li>\n<li><p><code>Cliente</code> - Cerrado por el cliente</p>\n</li>\n<li><p><code>Disparador</code> - Cerrado por disparador/automatización</p>\n</li>\n<li><p><code>Falla Conexión/Agente</code> - Falla de conexión/agente</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Valores de feedback</strong>: Los valores comunes incluyen:</p>\n<ul>\n<li><p><code>Sin feedback</code> - No se proporcionó feedback</p>\n</li>\n<li><p>Valores numéricos (ej: <code>5</code>) - Calificación con estrellas</p>\n</li>\n<li><p>Otros tipos de feedback según configuración</p>\n<h3 id=\"soporte-de-idiomas\">Soporte de Idiomas</h3>\n<p>  El parámetro <code>language</code> controla el idioma de los encabezados del CSV:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Código de Idioma</th>\n<th>Idioma</th>\n<th>Ejemplo de Encabezado</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>es</code></td>\n<td>Español</td>\n<td><code>Hora de derivación</code>, <code>Cliente</code>, <code>Agente</code></td>\n</tr>\n<tr>\n<td><code>en</code></td>\n<td>Inglés</td>\n<td><code>Queue Time</code>, <code>Customer</code>, <code>Agent</code></td>\n</tr>\n<tr>\n<td><code>pt</code></td>\n<td>Portugués</td>\n<td><em>(Traducciones al portugués)</em></td>\n</tr>\n</tbody>\n</table>\n</div></li>\n</ul>\n</li>\n</ul>\n<p><strong>Importante:</strong> El parámetro <code>language</code> es <strong>obligatorio</strong> y debe especificarse en cada solicitud.</p>\n<h3 id=\"ejemplo-de-solicitud\">Ejemplo de Solicitud</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET /live/public/export-simple?from=2025-11-12 00:00:12&amp;to=2025-11-18 23:59:59&amp;frequency=day&amp;language=es\n\n</code></pre><h3 id=\"casos-de-uso\">Casos de Uso</h3>\n<p>Este endpoint es útil para:</p>\n<ul>\n<li><p>Exportar datos de conversaciones para análisis externo</p>\n</li>\n<li><p>Crear reportes personalizados en aplicaciones de hojas de cálculo</p>\n</li>\n<li><p>Respaldo y archivo de datos</p>\n</li>\n<li><p>Integración con herramientas de inteligencia de negocios</p>\n</li>\n<li><p>Generar reportes de cumplimiento</p>\n</li>\n<li><p>Analizar patrones y tendencias de conversaciones</p>\n</li>\n</ul>\n<h3 id=\"manejo-de-descarga\">Manejo de Descarga</h3>\n<p>La respuesta generará una descarga de archivo en la mayoría de los navegadores debido al tipo de contenido <code>text/csv</code>. El nombre del archivo típicamente es generado automáticamente por la API o puede ser especificado por la aplicación cliente.</p>\n","urlObject":{"protocol":"https","path":["export-simple"],"host":["live-public-api","agentbot","net"],"query":[{"key":"from","value":"2025-11-12%2000:00:12"},{"key":"to","value":"2025-11-18%2023:59:59"},{"key":"frequency","value":"day"},{"key":"language","value":"es"},{"disabled":true,"key":"limit","value":"1"}],"variable":[]}},"response":[],"_postman_id":"f7b5a414-c6c0-442b-b0aa-2a41a46508ad"},{"name":"ConversationList","id":"a6d2d25a-475b-4fe8-8c5f-e12c6e52bcc5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"X-Token","value":"TURSaU16SmxOekU0WWpNNU1Ea3daVFExT1RFNE9ESmtNVGc0TTJJMk5HUT0=","type":"text"},{"key":"Authorization","value":"Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Im9TbC1DYkRMamRFWWV0WVU1VTlhaCJ9.eyJodHRwczovL2hhc3VyYS5pby9qd3QvY2xhaW1zIjp7IngtYWx0ZXJuYXRpdmVfaWQiOiIiLCJ4LWN1cnJlbnRfdXNlcl9yb2xlcyI6W10sIngtaGFzdXJhLWFsbG93ZWQtcm9sZXMiOlsidXNlciJdLCJ4LWhhc3VyYS1kZWZhdWx0LXJvbGUiOiJ1c2VyIiwieC1oYXN1cmEtdXNlci1pZCI6ImF1dGgwfDY0NGFiOTVmMjA1MzFhYWQxMjhhZWQ3MyJ9LCJuaWNrbmFtZSI6Im1zb2xhbm8iLCJuYW1lIjoiTWFyY29zIiwicGljdHVyZSI6Imh0dHBzOi8vcy5ncmF2YXRhci5jb20vYXZhdGFyLzk0YmRhMDFhNWI5MTY3OGUwNTNhNGMwY2ZhZmJhNTU0P3M9NDgwJnI9cGcmZD1odHRwcyUzQSUyRiUyRmNkbi5hdXRoMC5jb20lMkZhdmF0YXJzJTJGbWEucG5nIiwidXBkYXRlZF9hdCI6IjIwMjUtMTItMTBUMTY6MTc6MDguMDk0WiIsImVtYWlsIjoibXNvbGFub0BhaXZvLmNvIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImlzcyI6Imh0dHBzOi8vYWl2b3Rlc3QuYXV0aDAuY29tLyIsImF1ZCI6Ik10SWlwbEVLak4xVUNxV2l5RjhFbG1pc1hKZ0NOWU1tIiwic3ViIjoiYXV0aDB8NjQ0YWI5NWYyMDUzMWFhZDEyOGFlZDczIiwiaWF0IjoxNzY1MzgzNDMwLCJleHAiOjE3NjU0MTk0MzB9.0b7ru8TL5rnNmsf65fWbukdiJQL41dIR1_sh1MM9zehOs0jbPu-ehFQXoNjWPRc4Zm2CvgbD7drcZVJYJiuUK2slWXNMtbP4NsV-nGvjzvmySgOkHDHW26lF1r8wWxrhXsDBmitSIXWfFDp3jzRakdeWAUfLnhib8a0raZgwwg71ABfp1ax4SUWKcHZZdlLGdVFKwmLRL_5dX3tVzgPi4NvBA-5qjFNULJa5Qm0fqeFXfWf-53kgXtxqP9o7yEbambN6aw4ti2iRjTUA6xNgqdSB06hxd0iFtfIT_D-PNhFAOJ-iGgXYJKVm3RWYrTKmgrLSZLRZOocpYeJBjeUPQg","type":"text"}],"url":"https://live-public-api.stage.agentbot.net/conversation?rows=20&limit=1&offset=2&from=2022-01-01 00:00:00&to=2022-01-07 23:59:59","description":"<h1 id=\"get-chat-report\">Get Chat Report</h1>\n<p>Returns a detailed history of all conversations agents have had with users, including conversation metadata, participant information, and session details.</p>\n<h2 id=\"endpoint\">Endpoint</h2>\n<ul>\n<li><p><strong>URL:</strong> <a href=\"https://live-public-api.agentbot.net/conversation\">https://live-public-api.agentbot.net/conversation</a></p>\n</li>\n<li><p><strong>Method:</strong> <code>GET</code></p>\n</li>\n</ul>\n<h2 id=\"important-notes\">Important Notes</h2>\n<p>⚠️ <strong>This endpoint accepts a maximum of 1 week (7 days) difference between</strong> <strong><code>from</code></strong> <strong>and</strong> <strong><code>to</code></strong> <strong>parameters.</strong></p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<h3 id=\"required-parameters\">Required Parameters</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>ParameterTypeDescriptionfromstringStart date for the report period (format: ISO 8601 or yyyy-MM-dd)tostringEnd date for the report period (format: ISO 8601 or yyyy-MM-dd)\n\n</code></pre><p><strong>Constraint:</strong> Maximum difference between <code>from</code> and <code>to</code> is 7 days.</p>\n<h3 id=\"optional-parameters\">Optional Parameters</h3>\n<p>Common optional parameters apply (refer to general API documentation).</p>\n<h2 id=\"response\">Response</h2>\n<h3 id=\"success-response\">Success Response</h3>\n<p><strong>Code:</strong> <code>200 OK</code></p>\n<p><strong>Response Structure:</strong></p>\n<p>json</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>[\n    {\n        \"conversation_id\": \"DMyHL1unAku1DYHd3JV3\",\n        \"queueddatetime\": \"2022-01-06 12:13:27\",\n        \"startdatetime\": \"2022-01-06 12:13:27\",\n        \"enddatetime\": \"2022-01-06 12:13:38\",\n        \"session_time\": \"00:00:00\",\n        \"wait_time\": \"\",\n        \"protocol\": {\n            \"protocol_id\": 3,\n            \"name\": \"Web\"\n        },\n        \"browser\": {\n            \"name\": \"Chrome\",\n            \"version\": \"96.0.4664.110\"\n        },\n        \"platform\": {\n            \"name\": \"Windows\",\n            \"version\": \"10.0\"\n        },\n        \"closed_by\": {\n            \"name\": \"agent\"\n        },\n        \"reason\": {\n            \"description\": \"transfer by message\",\n            \"type\": \"group\"\n        },\n        \"user\": {\n            \"firstname\": \"\",\n            \"lastname\": \"\",\n            \"email\": \"\",\n            \"phone\": \"\",\n            \"extra\": \"\",\n            \"hash\": \"9d620e11dd2db91238208ac0d12834ed\",\n            \"created\": \"\"\n        },\n        \"groups\": [\n            {\n                \"group_id\": 200,\n                \"name\": \"Async Flow\"\n            }\n        ],\n        \"agents\": [\n            {\n                \"agent_id\": \"5fc7cef742843a006e2a0d9f\",\n                \"name\": \"Melisa\",\n                \"email\": \"\"\n            }\n        ],\n        \"feedback\": {\n            \"name\": \"\",\n            \"value\": 5\n        },\n        \"tags_live\": null,\n        \"user_connections\": null,\n        \"topic\": [],\n        \"notes\": null\n    }\n]\n\n</code></pre><h3 id=\"response-fields\">Response Fields</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>FieldTypeDescriptionconversation_idstringUnique identifier of the conversationqueueddatetimestring (datetime)Date and time when the conversation was queued (format: yyyy-MM-dd HH:mm:ss)startdatetimestring (datetime)Date and time when the conversation startedenddatetimestring (datetime)Date and time when the conversation endedsession_timestring (HH:MM:SS)Total duration of the conversationwait_timestring (HH:MM:SS)Duration the user waited before being attendedprotocolobjectCommunication protocol informationprotocol.protocol_idintegerUnique identifier of the protocolprotocol.namestringName of the protocol (e.g., \"Web\", \"Mobile\")browserobjectBrowser informationbrowser.namestringBrowser namebrowser.versionstringBrowser versionplatformobjectOperating system informationplatform.namestringPlatform/OS nameplatform.versionstringPlatform/OS versionclosed_byobjectInformation about who/what closed the conversationclosed_by.namestringEntity that closed the conversation (e.g., \"agent\", \"user\", \"trigger\")reasonobjectReason for conversation closure or transferreason.descriptionstringDetailed description of the reasonreason.typestringType of reason (e.g., \"group\")userobjectEnd user informationuser.firstnamestringUser's first nameuser.lastnamestringUser's last nameuser.emailstringUser's email addressuser.phonestringUser's phone numberuser.extrastringAdditional user informationuser.hashstringUnique hash identifier for the useruser.createdstring (datetime)Date when user was createdgroupsarrayList of groups involved in the conversationgroups[].group_idintegerGroup unique identifiergroups[].namestringGroup nameagentsarrayList of agents who participated in the conversationagents[].agent_idstringAgent unique identifieragents[].namestringAgent nameagents[].emailstringAgent email addressfeedbackobjectCustomer feedback informationfeedback.namestringFeedback category namefeedback.valueinteger/nullFeedback rating value (typically 1-5 scale)tags_livearray/nullTags associated with the live conversationuser_connectionsarray/nullUser connection informationtopicarrayTopics discussed in the conversationnotesstring/nullNotes added to the conversation\n\n</code></pre><h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p>The response returns an array of conversation objects</p>\n</li>\n<li><p>Empty strings (\"\") indicate fields with no data</p>\n</li>\n<li><p><code>null</code> values indicate optional fields that were not set</p>\n</li>\n<li><p>All datetime fields use the format: <code>yyyy-MM-dd HH:mm:ss</code></p>\n</li>\n<li><p>Time duration fields use the format: <code>HH:MM:SS</code></p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["conversation"],"host":["live-public-api","stage","agentbot","net"],"query":[{"key":"rows","value":"20"},{"key":"limit","value":"1"},{"key":"offset","value":"2"},{"disabled":true,"key":"","value":null},{"key":"from","value":"2022-01-01 00:00:00"},{"key":"to","value":"2022-01-07 23:59:59"}],"variable":[]}},"response":[],"_postman_id":"a6d2d25a-475b-4fe8-8c5f-e12c6e52bcc5"},{"name":"Stats","id":"f7f1bc69-c099-4bd9-84e7-abbf88931c23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"X-Token","value":"<x-token>","type":"text"},{"key":"Authorization","value":"Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Im9TbC1DYkRMamRFWWV0WVU1VTlhaCJ9.eyJodHRwczovL2hhc3VyYS5pby9qd3QvY2xhaW1zIjp7IngtYWx0ZXJuYXRpdmVfaWQiOiIiLCJ4LWN1cnJlbnRfdXNlcl9yb2xlcyI6W10sIngtaGFzdXJhLWFsbG93ZWQtcm9sZXMiOlsidXNlciJdLCJ4LWhhc3VyYS1kZWZhdWx0LXJvbGUiOiJ1c2VyIiwieC1oYXN1cmEtdXNlci1pZCI6ImF1dGgwfDY0NGFiOTVmMjA1MzFhYWQxMjhhZWQ3MyJ9LCJuaWNrbmFtZSI6Im1zb2xhbm8iLCJuYW1lIjoiTWFyY29zIiwicGljdHVyZSI6Imh0dHBzOi8vcy5ncmF2YXRhci5jb20vYXZhdGFyLzk0YmRhMDFhNWI5MTY3OGUwNTNhNGMwY2ZhZmJhNTU0P3M9NDgwJnI9cGcmZD1odHRwcyUzQSUyRiUyRmNkbi5hdXRoMC5jb20lMkZhdmF0YXJzJTJGbWEucG5nIiwidXBkYXRlZF9hdCI6IjIwMjUtMTItMTBUMTY6MTc6MDguMDk0WiIsImVtYWlsIjoibXNvbGFub0BhaXZvLmNvIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImlzcyI6Imh0dHBzOi8vYWl2b3Rlc3QuYXV0aDAuY29tLyIsImF1ZCI6Ik10SWlwbEVLak4xVUNxV2l5RjhFbG1pc1hKZ0NOWU1tIiwic3ViIjoiYXV0aDB8NjQ0YWI5NWYyMDUzMWFhZDEyOGFlZDczIiwiaWF0IjoxNzY1MzgzNDMwLCJleHAiOjE3NjU0MTk0MzB9.0b7ru8TL5rnNmsf65fWbukdiJQL41dIR1_sh1MM9zehOs0jbPu-ehFQXoNjWPRc4Zm2CvgbD7drcZVJYJiuUK2slWXNMtbP4NsV-nGvjzvmySgOkHDHW26lF1r8wWxrhXsDBmitSIXWfFDp3jzRakdeWAUfLnhib8a0raZgwwg71ABfp1ax4SUWKcHZZdlLGdVFKwmLRL_5dX3tVzgPi4NvBA-5qjFNULJa5Qm0fqeFXfWf-53kgXtxqP9o7yEbambN6aw4ti2iRjTUA6xNgqdSB06hxd0iFtfIT_D-PNhFAOJ-iGgXYJKVm3RWYrTKmgrLSZLRZOocpYeJBjeUPQg","type":"text"}],"url":"https://live-public-api.agentbot.net/conversation/stats?from=2025-12-01 00:00:00&to=2025-12-07 23:59:59","description":"<h1 id=\"get-conversation-stats\">Get Conversation Stats</h1>\n<p>Returns statistical metrics and performance indicators for conversations within a specified time period.</p>\n<h2 id=\"endpoint\">Endpoint</h2>\n<ul>\n<li><p><strong>URL:</strong> <a href=\"https://live-public-api.agentbot.net/conversation/stats\">https://live-public-api.agentbot.net/conversation/stats</a></p>\n</li>\n<li><p><strong>Method:</strong> <code>GET</code></p>\n</li>\n</ul>\n<h2 id=\"important-notes\">Important Notes</h2>\n<p>⚠️ <strong>This endpoint accepts a maximum of 1 week (7 days) difference between</strong> <strong><code>from</code></strong> <strong>and</strong> <strong><code>to</code></strong> <strong>parameters.</strong></p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<h3 id=\"required-parameters\">Required Parameters</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>ParameterTypeDescriptionfromstringStart date for the report period (format: ISO 8601 or yyyy-MM-dd)tostringEnd date for the report period (format: ISO 8601 or yyyy-MM-dd)\n\n</code></pre><p><strong>Constraint:</strong> Maximum difference between <code>from</code> and <code>to</code> is 7 days.</p>\n<h3 id=\"optional-parameters\">Optional Parameters</h3>\n<p>Common optional parameters apply (refer to general API documentation).</p>\n<h2 id=\"response\">Response</h2>\n<h3 id=\"success-response\">Success Response</h3>\n<p><strong>Code:</strong> <code>200 OK</code></p>\n<p><strong>Response Structure:</strong></p>\n<p>json</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"conversation\": 19,\n    \"finalized\": 5,\n    \"transferred\": 1,\n    \"transferlost\": 0,\n    \"lost\": 8,\n    \"totaltime\": \"01:53:06\",\n    \"averageTotalTime\": \"00:22:37\",\n    \"totalResponseTime\": \"00:04:45\",\n    \"averageResponseTime\": \"00:02:22\",\n    \"totalQueueTime\": \"00:00:45\",\n    \"averageQueueTime\": \"00:00:09\",\n    \"greatestTotalTime\": \"00:51:09\",\n    \"lowestTotalTime\": \"00:01:26\",\n    \"greatestResponseTime\": \"00:04:21\",\n    \"lowestResponseTime\": \"00:00:24\",\n    \"greatestQueueTime\": \"00:00:19\",\n    \"lowestQueueTime\": \"00:00:05\"\n}\n\n</code></pre><h3 id=\"response-fields\">Response Fields</h3>\n<h4 id=\"conversation-counts\">Conversation Counts</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>FieldTypeDescriptionconversationintegerTotal number of conversations in the periodfinalizedintegerNumber of conversations successfully finalized/completedtransferredintegerNumber of conversations transferred to another agent or grouptransferlostintegerNumber of conversations that were transferred but subsequently lostlostintegerNumber of conversations lost (abandoned or not attended)\n\n</code></pre><h4 id=\"total-time-metrics\">Total Time Metrics</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>FieldTypeDescriptiontotaltimestring (HH:MM:SS)Total cumulative duration of all conversationstotalResponseTimestring (HH:MM:SS)Total cumulative response time across all conversationstotalQueueTimestring (HH:MM:SS)Total cumulative queue time across all conversations\n\n</code></pre><h4 id=\"average-time-metrics\">Average Time Metrics</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>FieldTypeDescriptionaverageTotalTimestring (HH:MM:SS)Average duration per conversationaverageResponseTimestring (HH:MM:SS)Average response time per conversationaverageQueueTimestring (HH:MM:SS)Average queue time per conversation\n\n</code></pre><h4 id=\"peak-time-metrics-maximum\">Peak Time Metrics (Maximum)</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>FieldTypeDescriptiongreatestTotalTimestring (HH:MM:SS)Longest conversation duration in the periodgreatestResponseTimestring (HH:MM:SS)Longest response time in the periodgreatestQueueTimestring (HH:MM:SS)Longest queue wait time in the period\n\n</code></pre><h4 id=\"minimum-time-metrics\">Minimum Time Metrics</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>FieldTypeDescriptionlowestTotalTimestring (HH:MM:SS)Shortest conversation duration in the periodlowestResponseTimestring (HH:MM:SS)Shortest response time in the periodlowestQueueTimestring (HH:MM:SS)Shortest queue wait time in the period\n\n</code></pre><h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p>All time values are formatted as <code>HH:MM:SS</code></p>\n</li>\n<li><p>Response time refers to the time taken by agents to respond to user messages</p>\n</li>\n<li><p>Queue time refers to the time users wait before being attended by an agent</p>\n</li>\n<li><p>Total time encompasses the entire conversation duration from start to finish</p>\n</li>\n<li><p>The sum of <code>finalized</code>, <code>transferred</code>, and <code>lost</code> conversations may not equal the total <code>conversation</code> count due to conversations still in progress</p>\n</li>\n</ul>\n<h3 id=\"use-cases\">Use Cases</h3>\n<p>This endpoint is useful for:</p>\n<ul>\n<li><p>Monitoring agent performance and response times</p>\n</li>\n<li><p>Analyzing conversation abandonment rates</p>\n</li>\n<li><p>Identifying peak load times and bottlenecks</p>\n</li>\n<li><p>Generating performance reports and KPIs</p>\n</li>\n<li><p>Capacity planning and staffing decisions</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["conversation","stats"],"host":["live-public-api","agentbot","net"],"query":[{"disabled":true,"key":"","value":""},{"key":"from","value":"2025-12-01 00:00:00"},{"key":"to","value":"2025-12-07 23:59:59"}],"variable":[]}},"response":[],"_postman_id":"f7f1bc69-c099-4bd9-84e7-abbf88931c23"},{"name":"Feedback","id":"97d620b8-4e12-435e-b8e3-8abff6677f35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"X-Token","value":"<x-token>","type":"text"},{"key":"Authorization","value":"Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Im9TbC1DYkRMamRFWWV0WVU1VTlhaCJ9.eyJodHRwczovL2hhc3VyYS5pby9qd3QvY2xhaW1zIjp7IngtYWx0ZXJuYXRpdmVfaWQiOiIiLCJ4LWN1cnJlbnRfdXNlcl9yb2xlcyI6W10sIngtaGFzdXJhLWFsbG93ZWQtcm9sZXMiOlsidXNlciJdLCJ4LWhhc3VyYS1kZWZhdWx0LXJvbGUiOiJ1c2VyIiwieC1oYXN1cmEtdXNlci1pZCI6ImF1dGgwfDY0NGFiOTVmMjA1MzFhYWQxMjhhZWQ3MyJ9LCJuaWNrbmFtZSI6Im1zb2xhbm8iLCJuYW1lIjoiTWFyY29zIiwicGljdHVyZSI6Imh0dHBzOi8vcy5ncmF2YXRhci5jb20vYXZhdGFyLzk0YmRhMDFhNWI5MTY3OGUwNTNhNGMwY2ZhZmJhNTU0P3M9NDgwJnI9cGcmZD1odHRwcyUzQSUyRiUyRmNkbi5hdXRoMC5jb20lMkZhdmF0YXJzJTJGbWEucG5nIiwidXBkYXRlZF9hdCI6IjIwMjUtMTItMTBUMTY6MTc6MDguMDk0WiIsImVtYWlsIjoibXNvbGFub0BhaXZvLmNvIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImlzcyI6Imh0dHBzOi8vYWl2b3Rlc3QuYXV0aDAuY29tLyIsImF1ZCI6Ik10SWlwbEVLak4xVUNxV2l5RjhFbG1pc1hKZ0NOWU1tIiwic3ViIjoiYXV0aDB8NjQ0YWI5NWYyMDUzMWFhZDEyOGFlZDczIiwiaWF0IjoxNzY1MzgzNDMwLCJleHAiOjE3NjU0MTk0MzB9.0b7ru8TL5rnNmsf65fWbukdiJQL41dIR1_sh1MM9zehOs0jbPu-ehFQXoNjWPRc4Zm2CvgbD7drcZVJYJiuUK2slWXNMtbP4NsV-nGvjzvmySgOkHDHW26lF1r8wWxrhXsDBmitSIXWfFDp3jzRakdeWAUfLnhib8a0raZgwwg71ABfp1ax4SUWKcHZZdlLGdVFKwmLRL_5dX3tVzgPi4NvBA-5qjFNULJa5Qm0fqeFXfWf-53kgXtxqP9o7yEbambN6aw4ti2iRjTUA6xNgqdSB06hxd0iFtfIT_D-PNhFAOJ-iGgXYJKVm3RWYrTKmgrLSZLRZOocpYeJBjeUPQg","type":"text"}],"url":"https://live-public-api.agentbot.net/conversation/feedback?from=2025-12-01 00:00:00&to=2025-12-07 23:59:59","description":"<p>Get amount of feedbacks.</p>\n<ul>\n<li><p><strong>URL</strong></p>\n<p>  <a href=\"https://live-public-api.agentbot.net/conversation/feedback\">https://live-public-api.agentbot.net/conversation/feedback</a></p>\n</li>\n<li><p><strong>Method:</strong></p>\n<p>  <code>GET</code></p>\n</li>\n<li><p><strong>URL Params</strong></p>\n<ul>\n<li><p>Required parameters:</p>\n<p>  from: [string]<br />  to: [string]<br />  Diference between from and to: 1 week (7 days).</p>\n</li>\n<li><p>Optional parameters:</p>\n<p>  Common parameters optional</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Success Response:</strong></p>\n<ul>\n<li><p>[ { \"feedbackType\": \"1\", \"feedbackName\": \"Binary\", \"positive\": \"34\", \"negative\": \"17\", \"conversations\": \"51\", \"positivePercent\": 66.67, \"negativePercent\": 33.33 }]</p>\n</li>\n<li><p><strong>The response contains an array of these elements</strong></p>\n<ul>\n<li><p>feedbackType: The id of Feedback Type</p>\n</li>\n<li><p>feedbackName: The name of Feedback Type</p>\n</li>\n<li><p>positive: the amount of positive feedback</p>\n</li>\n<li><p>negative: the amount of negative feedback</p>\n</li>\n<li><p>conversations: the total of conversations</p>\n</li>\n<li><p>positivePercent: the percentage of positive feedback regarding total conversations</p>\n</li>\n<li><p>negativePercent: the percentage of negative feedback regarding total conversations</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["conversation","feedback"],"host":["live-public-api","agentbot","net"],"query":[{"disabled":true,"key":"","value":""},{"key":"from","value":"2025-12-01 00:00:00"},{"key":"to","value":"2025-12-07 23:59:59"}],"variable":[]}},"response":[],"_postman_id":"97d620b8-4e12-435e-b8e3-8abff6677f35"},{"name":"Histogram","id":"ba48ade5-49ab-4de0-86b4-c3cab7817c5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"X-Token","value":"<x-token>","type":"text"},{"key":"Authorization","value":"Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Im9TbC1DYkRMamRFWWV0WVU1VTlhaCJ9.eyJodHRwczovL2hhc3VyYS5pby9qd3QvY2xhaW1zIjp7IngtYWx0ZXJuYXRpdmVfaWQiOiIiLCJ4LWN1cnJlbnRfdXNlcl9yb2xlcyI6W10sIngtaGFzdXJhLWFsbG93ZWQtcm9sZXMiOlsidXNlciJdLCJ4LWhhc3VyYS1kZWZhdWx0LXJvbGUiOiJ1c2VyIiwieC1oYXN1cmEtdXNlci1pZCI6ImF1dGgwfDY0NGFiOTVmMjA1MzFhYWQxMjhhZWQ3MyJ9LCJuaWNrbmFtZSI6Im1zb2xhbm8iLCJuYW1lIjoiTWFyY29zIiwicGljdHVyZSI6Imh0dHBzOi8vcy5ncmF2YXRhci5jb20vYXZhdGFyLzk0YmRhMDFhNWI5MTY3OGUwNTNhNGMwY2ZhZmJhNTU0P3M9NDgwJnI9cGcmZD1odHRwcyUzQSUyRiUyRmNkbi5hdXRoMC5jb20lMkZhdmF0YXJzJTJGbWEucG5nIiwidXBkYXRlZF9hdCI6IjIwMjUtMTItMTBUMTY6MTc6MDguMDk0WiIsImVtYWlsIjoibXNvbGFub0BhaXZvLmNvIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImlzcyI6Imh0dHBzOi8vYWl2b3Rlc3QuYXV0aDAuY29tLyIsImF1ZCI6Ik10SWlwbEVLak4xVUNxV2l5RjhFbG1pc1hKZ0NOWU1tIiwic3ViIjoiYXV0aDB8NjQ0YWI5NWYyMDUzMWFhZDEyOGFlZDczIiwiaWF0IjoxNzY1MzgzNDMwLCJleHAiOjE3NjU0MTk0MzB9.0b7ru8TL5rnNmsf65fWbukdiJQL41dIR1_sh1MM9zehOs0jbPu-ehFQXoNjWPRc4Zm2CvgbD7drcZVJYJiuUK2slWXNMtbP4NsV-nGvjzvmySgOkHDHW26lF1r8wWxrhXsDBmitSIXWfFDp3jzRakdeWAUfLnhib8a0raZgwwg71ABfp1ax4SUWKcHZZdlLGdVFKwmLRL_5dX3tVzgPi4NvBA-5qjFNULJa5Qm0fqeFXfWf-53kgXtxqP9o7yEbambN6aw4ti2iRjTUA6xNgqdSB06hxd0iFtfIT_D-PNhFAOJ-iGgXYJKVm3RWYrTKmgrLSZLRZOocpYeJBjeUPQg","type":"text"}],"url":"https://live-public-api.agentbot.net/histogram?from=2025-12-01 00:00:00&to=2025-12-07 23:59:59&frequency=day","description":"<h1 id=\"obtener-histograma-de-conversaciones\">Obtener Histograma de Conversaciones</h1>\n<p>Retorna datos agregados de conversaciones agrupados por intervalos de tiempo, mostrando métricas como total de conversaciones, conversaciones cerradas, pérdidas, transferencias y cantidad de agentes activos.</p>\n<h2 id=\"endpoint\">Endpoint</h2>\n<ul>\n<li><p><strong>URL:</strong> <a href=\"https://live-public-api.agentbot.net/histogram\">https://live-public-api.agentbot.net/histogram</a></p>\n</li>\n<li><p><strong>Método:</strong> <code>GET</code></p>\n</li>\n</ul>\n<h2 id=\"notas-importantes\">Notas Importantes</h2>\n<p>⚠️ <strong>Este endpoint tiene límites de consulta según la frecuencia seleccionada:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>FrecuenciaRango Máximo PermitidoHALF-HOUR7 díasHOUR7 díasDAYSin límite específicoWEEK1 mes (31 días)MONTH1 año\n\n</code></pre><h2 id=\"parámetros-de-la-solicitud\">Parámetros de la Solicitud</h2>\n<h3 id=\"parámetros-requeridos\">Parámetros Requeridos</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>ParámetroTipoDescripciónfromstringFecha y hora de inicio del período (formato: yyyy-MM-dd HH:mm:ss, codificado en URL)tostringFecha y hora de fin del período (formato: yyyy-MM-dd HH:mm:ss, codificado en URL)frequencystringFrecuencia de agrupación de datos. Valores aceptados: HALF-HOUR, HOUR, DAY, WEEK, MONTH\n\n</code></pre><h3 id=\"parámetros-opcionales\">Parámetros Opcionales</h3>\n<p>Se aplican los parámetros opcionales comunes (consultar la documentación general de la API).</p>\n<h2 id=\"respuesta\">Respuesta</h2>\n<h3 id=\"respuesta-exitosa\">Respuesta Exitosa</h3>\n<p><strong>Código:</strong> <code>200 OK</code></p>\n<p><strong>Estructura de la Respuesta:</strong></p>\n<p>json</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"data\": [\n        {\n            \"date\": \"2025-12-01 00:00:00\",\n            \"total\": 3,\n            \"closed\": 2,\n            \"losses\": 1,\n            \"transferred\": 1,\n            \"agents\": 1\n        },\n        {\n            \"date\": \"2025-12-02 00:00:00\",\n            \"total\": 5,\n            \"closed\": 4,\n            \"losses\": 0,\n            \"transferred\": 2,\n            \"agents\": 2\n        }\n    ]\n}\n\n</code></pre><h3 id=\"campos-de-respuesta\">Campos de Respuesta</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>CampoTipoDescripcióndataarrayArray de objetos conteniendo métricas agrupadas por período de tiempo\n\n</code></pre><h4 id=\"objetos-dentro-de-data\">Objetos dentro de <code>data</code>:</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>CampoTipoDescripcióndatestring (datetime)Fecha y hora del inicio del período (formato: yyyy-MM-dd HH:mm:ss)totalintegerNúmero total de conversaciones en el períodoclosedintegerNúmero de conversaciones cerradas exitosamentelossesintegerNúmero de conversaciones perdidas (abandonadas o no atendidas)transferredintegerNúmero de conversaciones transferidas a otro agente o grupoagentsintegerNúmero de agentes activos durante el período\n\n</code></pre><h3 id=\"notas\">Notas</h3>\n<ul>\n<li><p>Los datos se agrupan según la frecuencia especificada</p>\n</li>\n<li><p>Cada objeto en el array <code>data</code> representa un intervalo de tiempo según la <code>frequency</code> seleccionada</p>\n</li>\n<li><p>El campo <code>date</code> marca el inicio de cada intervalo</p>\n</li>\n<li><p>La suma de <code>closed</code>, <code>losses</code> y conversaciones en progreso puede no ser igual a <code>total</code> dependiendo del estado de las conversaciones al final del período</p>\n</li>\n</ul>\n<h3 id=\"ejemplos-de-agrupación-por-frecuencia\">Ejemplos de Agrupación por Frecuencia</h3>\n<h4 id=\"half-hour-media-hora\">HALF-HOUR (Media Hora)</h4>\n<p>json</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"data\": [\n        {\"date\": \"2025-12-01 00:00:00\", \"total\": 5, ...},\n        {\"date\": \"2025-12-01 00:30:00\", \"total\": 3, ...},\n        {\"date\": \"2025-12-01 01:00:00\", \"total\": 7, ...}\n    ]\n}\n\n</code></pre><h4 id=\"hour-hora\">HOUR (Hora)</h4>\n<p>json</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"data\": [\n        {\"date\": \"2025-12-01 00:00:00\", \"total\": 8, ...},\n        {\"date\": \"2025-12-01 01:00:00\", \"total\": 12, ...},\n        {\"date\": \"2025-12-01 02:00:00\", \"total\": 6, ...}\n    ]\n}\n\n</code></pre><h4 id=\"day-día\">DAY (Día)</h4>\n<p>json</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"data\": [\n        {\"date\": \"2025-12-01 00:00:00\", \"total\": 145, ...},\n        {\"date\": \"2025-12-02 00:00:00\", \"total\": 167, ...},\n        {\"date\": \"2025-12-03 00:00:00\", \"total\": 152, ...}\n    ]\n}\n\n</code></pre><h4 id=\"week-semana\">WEEK (Semana)</h4>\n<p>json</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"data\": [\n        {\"date\": \"2025-12-01 00:00:00\", \"total\": 980, ...},\n        {\"date\": \"2025-12-08 00:00:00\", \"total\": 1045, ...}\n    ]\n}\n\n</code></pre><h4 id=\"month-mes\">MONTH (Mes)</h4>\n<p>json</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"data\": [\n        {\"date\": \"2025-11-01 00:00:00\", \"total\": 4234, ...},\n        {\"date\": \"2025-12-01 00:00:00\", \"total\": 4567, ...}\n    ]\n}\n\n</code></pre><h3 id=\"ejemplo-de-solicitud\">Ejemplo de Solicitud</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET /live/public/histogram?from=2025-12-01 00:00:00&amp;to=2025-12-07 23:59:59&amp;frequency=DAY\n\n</code></pre><h3 id=\"validación-de-rangos\">Validación de Rangos</h3>\n<p>Si se exceden los límites máximos, la API retornará un error. Ejemplo:<br /><strong>Solicitud inválida:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET /live/public/histogram?from=2025-11-01 00:00:00&amp;to=2025-11-15 23:59:59&amp;frequency=HALF-HOUR\n\n</code></pre><p>(15 días excede el límite de 7 días para HALF-HOUR)</p>\n<h3 id=\"casos-de-uso\">Casos de Uso</h3>\n<p>Este endpoint es útil para:</p>\n<ul>\n<li><p>Visualizar tendencias de conversaciones a lo largo del tiempo</p>\n</li>\n<li><p>Crear gráficos y dashboards de actividad</p>\n</li>\n<li><p>Identificar horas pico de tráfico</p>\n</li>\n<li><p>Analizar patrones de abandono de conversaciones</p>\n</li>\n<li><p>Monitorear la carga de trabajo de los agentes</p>\n</li>\n<li><p>Generar reportes de desempeño por período</p>\n</li>\n<li><p>Planificar la asignación de recursos según demanda histórica</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["histogram"],"host":["live-public-api","agentbot","net"],"query":[{"key":"from","value":"2025-12-01 00:00:00"},{"key":"to","value":"2025-12-07 23:59:59"},{"key":"frequency","value":"day"},{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"ba48ade5-49ab-4de0-86b4-c3cab7817c5c"},{"name":"Summary","id":"9e636d08-9cbf-43c2-bbea-720e7ff68b6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"X-Token","value":"<x-token>","type":"text"},{"key":"Authorization","value":"Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Im9TbC1DYkRMamRFWWV0WVU1VTlhaCJ9.eyJodHRwczovL2hhc3VyYS5pby9qd3QvY2xhaW1zIjp7IngtYWx0ZXJuYXRpdmVfaWQiOiIiLCJ4LWN1cnJlbnRfdXNlcl9yb2xlcyI6W10sIngtaGFzdXJhLWFsbG93ZWQtcm9sZXMiOlsidXNlciJdLCJ4LWhhc3VyYS1kZWZhdWx0LXJvbGUiOiJ1c2VyIiwieC1oYXN1cmEtdXNlci1pZCI6ImF1dGgwfDY0NGFiOTVmMjA1MzFhYWQxMjhhZWQ3MyJ9LCJuaWNrbmFtZSI6Im1zb2xhbm8iLCJuYW1lIjoiTWFyY29zIiwicGljdHVyZSI6Imh0dHBzOi8vcy5ncmF2YXRhci5jb20vYXZhdGFyLzk0YmRhMDFhNWI5MTY3OGUwNTNhNGMwY2ZhZmJhNTU0P3M9NDgwJnI9cGcmZD1odHRwcyUzQSUyRiUyRmNkbi5hdXRoMC5jb20lMkZhdmF0YXJzJTJGbWEucG5nIiwidXBkYXRlZF9hdCI6IjIwMjUtMTItMTBUMTY6MTc6MDguMDk0WiIsImVtYWlsIjoibXNvbGFub0BhaXZvLmNvIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImlzcyI6Imh0dHBzOi8vYWl2b3Rlc3QuYXV0aDAuY29tLyIsImF1ZCI6Ik10SWlwbEVLak4xVUNxV2l5RjhFbG1pc1hKZ0NOWU1tIiwic3ViIjoiYXV0aDB8NjQ0YWI5NWYyMDUzMWFhZDEyOGFlZDczIiwiaWF0IjoxNzY1MzgzNDMwLCJleHAiOjE3NjU0MTk0MzB9.0b7ru8TL5rnNmsf65fWbukdiJQL41dIR1_sh1MM9zehOs0jbPu-ehFQXoNjWPRc4Zm2CvgbD7drcZVJYJiuUK2slWXNMtbP4NsV-nGvjzvmySgOkHDHW26lF1r8wWxrhXsDBmitSIXWfFDp3jzRakdeWAUfLnhib8a0raZgwwg71ABfp1ax4SUWKcHZZdlLGdVFKwmLRL_5dX3tVzgPi4NvBA-5qjFNULJa5Qm0fqeFXfWf-53kgXtxqP9o7yEbambN6aw4ti2iRjTUA6xNgqdSB06hxd0iFtfIT_D-PNhFAOJ-iGgXYJKVm3RWYrTKmgrLSZLRZOocpYeJBjeUPQg","type":"text"}],"url":"https://live-public-api.agentbot.net/summary?from=2025-12-01 00:00:00&to=2025-12-07 23:59:59&frequency=day","description":"<h1 id=\"obtener-resumen-de-conversaciones\">Obtener Resumen de Conversaciones</h1>\n<p>Retorna un resumen detallado de métricas de conversaciones agrupadas por período de tiempo, grupo y protocolo, incluyendo tiempos de respuesta, tasas de finalización, feedback de usuarios y métricas de SLA.</p>\n<h2 id=\"endpoint\">Endpoint</h2>\n<ul>\n<li><p><strong>URL:</strong> <a href=\"https://live-public-api.agentbot.net/summary\">https://live-public-api.agentbot.net/summary</a></p>\n</li>\n<li><p><strong>Método:</strong> <code>GET</code></p>\n</li>\n</ul>\n<h2 id=\"notas-importantes\">Notas Importantes</h2>\n<p>⚠️ <strong>Este endpoint tiene límites de consulta según la frecuencia seleccionada:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>FrecuenciaRango Máximo PermitidoHALF-HOUR7 díasHOUR7 díasDAYSin límite específicoWEEK1 mes (31 días)MONTH1 año\n\n</code></pre><h2 id=\"parámetros-de-la-solicitud\">Parámetros de la Solicitud</h2>\n<h3 id=\"parámetros-requeridos\">Parámetros Requeridos</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>ParámetroTipoDescripciónfromstringFecha y hora de inicio del período (formato: yyyy-MM-dd HH:mm:ss, codificado en URL)tostringFecha y hora de fin del período (formato: yyyy-MM-dd HH:mm:ss, codificado en URL)frequencystringFrecuencia de agrupación de datos. Valores aceptados: HALF-HOUR, HOUR, DAY, WEEK, MONTH\n\n</code></pre><h3 id=\"parámetros-opcionales\">Parámetros Opcionales</h3>\n<p>Se aplican los parámetros opcionales comunes (consultar la documentación general de la API).</p>\n<h2 id=\"respuesta\">Respuesta</h2>\n<h3 id=\"respuesta-exitosa\">Respuesta Exitosa</h3>\n<p><strong>Código:</strong> <code>200 OK</code></p>\n<p><strong>Estructura de la Respuesta:</strong></p>\n<p>json</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"data\": [\n        {\n            \"date\": \"2025-12-01 00:00:00\",\n            \"frequency\": \"day\",\n            \"group_name\": \"Yury\",\n            \"protocol\": \"Web\",\n            \"total\": 2,\n            \"attended\": 1,\n            \"closed\": 1,\n            \"losses\": 1,\n            \"transferred\": 1,\n            \"abandoned_after_threshold\": 0,\n            \"finalized_agent\": 0,\n            \"finalized_client\": 1,\n            \"finalized_disconnect\": 0,\n            \"finalized_system\": 0,\n            \"finalized_percent\": 50,\n            \"lost_percent\": 50,\n            \"transfered_percent\": 50,\n            \"transfered_attended\": 50,\n            \"total_agents\": 1,\n            \"total_users\": 1,\n            \"total_unique_users\": 0,\n            \"total_recurrent_users\": 1,\n            \"percent_unique_users\": 0,\n            \"percent_recurrent_users\": 100,\n            \"count_messages\": 0,\n            \"total_time\": 2402,\n            \"average_total_time\": 2402,\n            \"greatest_total_time\": 611,\n            \"lowest_total_time\": 611,\n            \"total_response_time\": 738,\n            \"average_response_time\": 738,\n            \"greatest_response_time\": 0,\n            \"lowest_response_time\": 0,\n            \"total_queue_time\": 17,\n            \"avg_queue_time\": 8,\n            \"greatest_queue_time\": 11,\n            \"lowest_queue_time\": 11,\n            \"with_sla\": 0,\n            \"without_sla\": 2,\n            \"sla_percent\": 0,\n            \"sla_average\": 0,\n            \"general_sla_percent\": 0,\n            \"feedback\": {\n                \"nps\": {\n                    \"total\": 0,\n                    \"value\": 0,\n                    \"positives\": {\n                        \"total\": 0,\n                        \"avg\": 0\n                    },\n                    \"negatives\": {\n                        \"total\": 0,\n                        \"avg\": 0\n                    },\n                    \"neutrals\": {\n                        \"total\": 0,\n                        \"avg\": 0\n                    }\n                },\n                \"binary\": {\n                    \"total\": 0,\n                    \"positives\": {\n                        \"total\": 0,\n                        \"avg\": 0\n                    },\n                    \"negatives\": {\n                        \"total\": 0,\n                        \"avg\": 0\n                    }\n                },\n                \"stars\": {\n                    \"total\": 0,\n                    \"avg\": 0,\n                    \"sum\": 0,\n                    \"one\": {\n                        \"total\": 0,\n                        \"avg\": 0\n                    },\n                    \"two\": {\n                        \"total\": 0,\n                        \"avg\": 0\n                    },\n                    \"three\": {\n                        \"total\": 0,\n                        \"avg\": 0\n                    },\n                    \"four\": {\n                        \"total\": 0,\n                        \"avg\": 0\n                    },\n                    \"five\": {\n                        \"total\": 0,\n                        \"avg\": 0\n                    }\n                }\n            }\n        }\n    ]\n}\n\n</code></pre><h3 id=\"campos-de-respuesta\">Campos de Respuesta</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>data</code></td>\n<td>array</td>\n<td>Array de objetos conteniendo métricas detalladas agrupadas por período, grupo y protocolo</td>\n</tr>\n<tr>\n<td>#### Campos de Identificación y Agrupación</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Campo</td>\n<td>Tipo</td>\n<td>Descripción</td>\n</tr>\n<tr>\n<td>-------</td>\n<td>------</td>\n<td>-------------</td>\n</tr>\n<tr>\n<td><code>date</code></td>\n<td>string (datetime)</td>\n<td>Fecha y hora del inicio del período (formato: yyyy-MM-dd HH:mm:ss)</td>\n</tr>\n<tr>\n<td><code>frequency</code></td>\n<td>string</td>\n<td>Frecuencia de agrupación utilizada (HALF-HOUR, HOUR, DAY, WEEK, MONTH)</td>\n</tr>\n<tr>\n<td><code>group_name</code></td>\n<td>string</td>\n<td>Nombre del grupo de agentes</td>\n</tr>\n<tr>\n<td><code>protocol</code></td>\n<td>string</td>\n<td>Protocolo de comunicación (ej: \"Web\", \"WhatsApp\", \"Facebook\")</td>\n</tr>\n<tr>\n<td>#### Métricas de Conversaciones</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Campo</td>\n<td>Tipo</td>\n<td>Descripción</td>\n</tr>\n<tr>\n<td>-------</td>\n<td>------</td>\n<td>-------------</td>\n</tr>\n<tr>\n<td><code>total</code></td>\n<td>integer</td>\n<td>Número total de conversaciones en el período</td>\n</tr>\n<tr>\n<td><code>attended</code></td>\n<td>integer</td>\n<td>Número de conversaciones atendidas</td>\n</tr>\n<tr>\n<td><code>closed</code></td>\n<td>integer</td>\n<td>Número de conversaciones cerradas</td>\n</tr>\n<tr>\n<td><code>losses</code></td>\n<td>integer</td>\n<td>Número de conversaciones perdidas</td>\n</tr>\n<tr>\n<td><code>transferred</code></td>\n<td>integer</td>\n<td>Número de conversaciones transferidas</td>\n</tr>\n<tr>\n<td><code>abandoned_after_threshold</code></td>\n<td>integer</td>\n<td>Conversaciones abandonadas después de exceder el umbral de tiempo</td>\n</tr>\n<tr>\n<td>#### Métricas de Finalización</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Campo</td>\n<td>Tipo</td>\n<td>Descripción</td>\n</tr>\n<tr>\n<td>-------</td>\n<td>------</td>\n<td>-------------</td>\n</tr>\n<tr>\n<td><code>finalized_agent</code></td>\n<td>integer</td>\n<td>Conversaciones finalizadas por el agente</td>\n</tr>\n<tr>\n<td><code>finalized_client</code></td>\n<td>integer</td>\n<td>Conversaciones finalizadas por el cliente</td>\n</tr>\n<tr>\n<td><code>finalized_disconnect</code></td>\n<td>integer</td>\n<td>Conversaciones finalizadas por desconexión</td>\n</tr>\n<tr>\n<td><code>finalized_system</code></td>\n<td>integer</td>\n<td>Conversaciones finalizadas por el sistema</td>\n</tr>\n<tr>\n<td><code>finalized_percent</code></td>\n<td>integer</td>\n<td>Porcentaje de conversaciones finalizadas</td>\n</tr>\n<tr>\n<td><code>lost_percent</code></td>\n<td>integer</td>\n<td>Porcentaje de conversaciones perdidas</td>\n</tr>\n<tr>\n<td><code>transfered_percent</code></td>\n<td>integer</td>\n<td>Porcentaje de conversaciones transferidas</td>\n</tr>\n<tr>\n<td><code>transfered_attended</code></td>\n<td>integer</td>\n<td>Porcentaje de conversaciones transferidas que fueron atendidas</td>\n</tr>\n<tr>\n<td>#### Métricas de Usuarios y Agentes</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Campo</td>\n<td>Tipo</td>\n<td>Descripción</td>\n</tr>\n<tr>\n<td>-------</td>\n<td>------</td>\n<td>-------------</td>\n</tr>\n<tr>\n<td><code>total_agents</code></td>\n<td>integer</td>\n<td>Número total de agentes activos</td>\n</tr>\n<tr>\n<td><code>total_users</code></td>\n<td>integer</td>\n<td>Número total de usuarios</td>\n</tr>\n<tr>\n<td><code>total_unique_users</code></td>\n<td>integer</td>\n<td>Número de usuarios únicos (nuevos)</td>\n</tr>\n<tr>\n<td><code>total_recurrent_users</code></td>\n<td>integer</td>\n<td>Número de usuarios recurrentes</td>\n</tr>\n<tr>\n<td><code>percent_unique_users</code></td>\n<td>integer</td>\n<td>Porcentaje de usuarios únicos</td>\n</tr>\n<tr>\n<td><code>percent_recurrent_users</code></td>\n<td>integer</td>\n<td>Porcentaje de usuarios recurrentes</td>\n</tr>\n<tr>\n<td><code>count_messages</code></td>\n<td>integer</td>\n<td>Cantidad total de mensajes intercambiados</td>\n</tr>\n<tr>\n<td>#### Métricas de Tiempo Total</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Campo</td>\n<td>Tipo</td>\n<td>Descripción</td>\n</tr>\n<tr>\n<td>-------</td>\n<td>------</td>\n<td>-------------</td>\n</tr>\n<tr>\n<td><code>total_time</code></td>\n<td>integer</td>\n<td>Tiempo total acumulado de todas las conversaciones (en segundos)</td>\n</tr>\n<tr>\n<td><code>average_total_time</code></td>\n<td>integer</td>\n<td>Tiempo promedio de conversación (en segundos)</td>\n</tr>\n<tr>\n<td><code>greatest_total_time</code></td>\n<td>integer</td>\n<td>Mayor tiempo de conversación (en segundos)</td>\n</tr>\n<tr>\n<td><code>lowest_total_time</code></td>\n<td>integer</td>\n<td>Menor tiempo de conversación (en segundos)</td>\n</tr>\n<tr>\n<td>#### Métricas de Tiempo de Respuesta</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Campo</td>\n<td>Tipo</td>\n<td>Descripción</td>\n</tr>\n<tr>\n<td>-------</td>\n<td>------</td>\n<td>-------------</td>\n</tr>\n<tr>\n<td><code>total_response_time</code></td>\n<td>integer</td>\n<td>Tiempo total acumulado de respuesta (en segundos)</td>\n</tr>\n<tr>\n<td><code>average_response_time</code></td>\n<td>integer</td>\n<td>Tiempo promedio de respuesta (en segundos)</td>\n</tr>\n<tr>\n<td><code>greatest_response_time</code></td>\n<td>integer</td>\n<td>Mayor tiempo de respuesta (en segundos)</td>\n</tr>\n<tr>\n<td><code>lowest_response_time</code></td>\n<td>integer</td>\n<td>Menor tiempo de respuesta (en segundos)</td>\n</tr>\n<tr>\n<td>#### Métricas de Tiempo de Cola</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Campo</td>\n<td>Tipo</td>\n<td>Descripción</td>\n</tr>\n<tr>\n<td>-------</td>\n<td>------</td>\n<td>-------------</td>\n</tr>\n<tr>\n<td><code>total_queue_time</code></td>\n<td>integer</td>\n<td>Tiempo total acumulado en cola (en segundos)</td>\n</tr>\n<tr>\n<td><code>avg_queue_time</code></td>\n<td>integer</td>\n<td>Tiempo promedio en cola (en segundos)</td>\n</tr>\n<tr>\n<td><code>greatest_queue_time</code></td>\n<td>integer</td>\n<td>Mayor tiempo en cola (en segundos)</td>\n</tr>\n<tr>\n<td><code>lowest_queue_time</code></td>\n<td>integer</td>\n<td>Menor tiempo en cola (en segundos)</td>\n</tr>\n<tr>\n<td>#### Métricas de SLA</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Campo</td>\n<td>Tipo</td>\n<td>Descripción</td>\n</tr>\n<tr>\n<td>-------</td>\n<td>------</td>\n<td>-------------</td>\n</tr>\n<tr>\n<td><code>with_sla</code></td>\n<td>integer</td>\n<td>Número de conversaciones con SLA configurado</td>\n</tr>\n<tr>\n<td><code>without_sla</code></td>\n<td>integer</td>\n<td>Número de conversaciones sin SLA configurado</td>\n</tr>\n<tr>\n<td><code>sla_percent</code></td>\n<td>integer</td>\n<td>Porcentaje de conversaciones que cumplieron el SLA</td>\n</tr>\n<tr>\n<td><code>sla_average</code></td>\n<td>integer</td>\n<td>Promedio de cumplimiento de SLA</td>\n</tr>\n<tr>\n<td><code>general_sla_percent</code></td>\n<td>integer</td>\n<td>Porcentaje general de cumplimiento de SLA</td>\n</tr>\n<tr>\n<td>#### Métricas de Feedback</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>##### NPS (Net Promoter Score)</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Campo</td>\n<td>Tipo</td>\n<td>Descripción</td>\n</tr>\n<tr>\n<td>-------</td>\n<td>------</td>\n<td>-------------</td>\n</tr>\n<tr>\n<td><code>feedback.nps.total</code></td>\n<td>integer</td>\n<td>Total de respuestas NPS</td>\n</tr>\n<tr>\n<td><code>feedback.nps.value</code></td>\n<td>number</td>\n<td>Valor del NPS (-100 a 100)</td>\n</tr>\n<tr>\n<td><code>feedback.nps.positives.total</code></td>\n<td>integer</td>\n<td>Número de promotores (9-10)</td>\n</tr>\n<tr>\n<td><code>feedback.nps.positives.avg</code></td>\n<td>number</td>\n<td>Promedio de promotores</td>\n</tr>\n<tr>\n<td><code>feedback.nps.negatives.total</code></td>\n<td>integer</td>\n<td>Número de detractores (0-6)</td>\n</tr>\n<tr>\n<td><code>feedback.nps.negatives.avg</code></td>\n<td>number</td>\n<td>Promedio de detractores</td>\n</tr>\n<tr>\n<td><code>feedback.nps.neutrals.total</code></td>\n<td>integer</td>\n<td>Número de pasivos (7-8)</td>\n</tr>\n<tr>\n<td><code>feedback.nps.neutrals.avg</code></td>\n<td>number</td>\n<td>Promedio de pasivos</td>\n</tr>\n<tr>\n<td>##### Feedback Binario</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Campo</td>\n<td>Tipo</td>\n<td>Descripción</td>\n</tr>\n<tr>\n<td>-------</td>\n<td>------</td>\n<td>-------------</td>\n</tr>\n<tr>\n<td><code>feedback.binary.total</code></td>\n<td>integer</td>\n<td>Total de feedback binario</td>\n</tr>\n<tr>\n<td><code>feedback.binary.positives.total</code></td>\n<td>integer</td>\n<td>Número de respuestas positivas</td>\n</tr>\n<tr>\n<td><code>feedback.binary.positives.avg</code></td>\n<td>number</td>\n<td>Promedio de respuestas positivas</td>\n</tr>\n<tr>\n<td><code>feedback.binary.negatives.total</code></td>\n<td>integer</td>\n<td>Número de respuestas negativas</td>\n</tr>\n<tr>\n<td><code>feedback.binary.negatives.avg</code></td>\n<td>number</td>\n<td>Promedio de respuestas negativas</td>\n</tr>\n<tr>\n<td>##### Feedback de Estrellas</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Campo</td>\n<td>Tipo</td>\n<td>Descripción</td>\n</tr>\n<tr>\n<td>-------</td>\n<td>------</td>\n<td>-------------</td>\n</tr>\n<tr>\n<td><code>feedback.stars.total</code></td>\n<td>integer</td>\n<td>Total de calificaciones con estrellas</td>\n</tr>\n<tr>\n<td><code>feedback.stars.avg</code></td>\n<td>number</td>\n<td>Promedio de calificación (0-5)</td>\n</tr>\n<tr>\n<td><code>feedback.stars.sum</code></td>\n<td>integer</td>\n<td>Suma total de todas las calificaciones</td>\n</tr>\n<tr>\n<td><code>feedback.stars.one.total</code></td>\n<td>integer</td>\n<td>Número de calificaciones de 1 estrella</td>\n</tr>\n<tr>\n<td><code>feedback.stars.one.avg</code></td>\n<td>number</td>\n<td>Promedio para 1 estrella</td>\n</tr>\n<tr>\n<td><code>feedback.stars.two.total</code></td>\n<td>integer</td>\n<td>Número de calificaciones de 2 estrellas</td>\n</tr>\n<tr>\n<td><code>feedback.stars.two.avg</code></td>\n<td>number</td>\n<td>Promedio para 2 estrellas</td>\n</tr>\n<tr>\n<td><code>feedback.stars.three.total</code></td>\n<td>integer</td>\n<td>Número de calificaciones de 3 estrellas</td>\n</tr>\n<tr>\n<td><code>feedback.stars.three.avg</code></td>\n<td>number</td>\n<td>Promedio para 3 estrellas</td>\n</tr>\n<tr>\n<td><code>feedback.stars.four.total</code></td>\n<td>integer</td>\n<td>Número de calificaciones de 4 estrellas</td>\n</tr>\n<tr>\n<td><code>feedback.stars.four.avg</code></td>\n<td>number</td>\n<td>Promedio para 4 estrellas</td>\n</tr>\n<tr>\n<td><code>feedback.stars.five.total</code></td>\n<td>integer</td>\n<td>Número de calificaciones de 5 estrellas</td>\n</tr>\n<tr>\n<td><code>feedback.stars.five.avg</code></td>\n<td>number</td>\n<td>Promedio para 5 estrellas</td>\n</tr>\n<tr>\n<td>### Notas</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>- Los tiempos se devuelven en <strong>segundos</strong> como valores enteros</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>- Los porcentajes se devuelven como valores enteros (0-100)</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>- Cada objeto en el array <code>data</code> representa una combinación única de período, grupo y protocolo</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>- Los valores de 0 en las métricas de feedback indican que no se recibió feedback durante el período</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>### Ejemplo de Solicitud</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>GET /live/public/summary?from=2025-12-01 00:00:00&amp;to=2025-12-07 23:59:59&amp;frequency=DAY</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>### Validación de Rangos</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Si se exceden los límites máximos, la API retornará un error. Ejemplo:</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><strong>Solicitud inválida:</strong></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>GET /live/public/summary?from=2025-11-01 00:00:00&amp;to=2025-11-15 23:59:59&amp;frequency=HOUR</td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><p>```</p>\n<p>(15 días excede el límite de 7 días para HOUR)</p>\n<h3 id=\"casos-de-uso\">Casos de Uso</h3>\n<p>Este endpoint es útil para:</p>\n<ul>\n<li><p>Análisis detallado de desempeño por grupo y canal</p>\n</li>\n<li><p>Generación de reportes ejecutivos con métricas completas</p>\n</li>\n<li><p>Monitoreo de cumplimiento de SLA por período</p>\n</li>\n<li><p>Análisis de satisfacción del cliente por grupo</p>\n</li>\n<li><p>Comparación de desempeño entre diferentes protocolos</p>\n</li>\n<li><p>Identificación de tendencias en tiempo de respuesta y atención</p>\n</li>\n<li><p>Evaluación de la eficiencia operativa por grupo</p>\n</li>\n<li><p>Planificación de recursos basada en patrones históricos</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["summary"],"host":["live-public-api","agentbot","net"],"query":[{"key":"from","value":"2025-12-01 00:00:00"},{"key":"to","value":"2025-12-07 23:59:59"},{"key":"frequency","value":"day"},{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"9e636d08-9cbf-43c2-bbea-720e7ff68b6a"},{"name":"Agent Stats","id":"c7dab44b-cf55-48a3-a217-11038195449d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"X-Token","value":"<x-token>","type":"text"},{"key":"Authorization","value":"Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Im9TbC1DYkRMamRFWWV0WVU1VTlhaCJ9.eyJodHRwczovL2hhc3VyYS5pby9qd3QvY2xhaW1zIjp7IngtYWx0ZXJuYXRpdmVfaWQiOiIiLCJ4LWN1cnJlbnRfdXNlcl9yb2xlcyI6W10sIngtaGFzdXJhLWFsbG93ZWQtcm9sZXMiOlsidXNlciJdLCJ4LWhhc3VyYS1kZWZhdWx0LXJvbGUiOiJ1c2VyIiwieC1oYXN1cmEtdXNlci1pZCI6ImF1dGgwfDY0NGFiOTVmMjA1MzFhYWQxMjhhZWQ3MyJ9LCJuaWNrbmFtZSI6Im1zb2xhbm8iLCJuYW1lIjoiTWFyY29zIiwicGljdHVyZSI6Imh0dHBzOi8vcy5ncmF2YXRhci5jb20vYXZhdGFyLzk0YmRhMDFhNWI5MTY3OGUwNTNhNGMwY2ZhZmJhNTU0P3M9NDgwJnI9cGcmZD1odHRwcyUzQSUyRiUyRmNkbi5hdXRoMC5jb20lMkZhdmF0YXJzJTJGbWEucG5nIiwidXBkYXRlZF9hdCI6IjIwMjUtMTItMTBUMTY6MTc6MDguMDk0WiIsImVtYWlsIjoibXNvbGFub0BhaXZvLmNvIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImlzcyI6Imh0dHBzOi8vYWl2b3Rlc3QuYXV0aDAuY29tLyIsImF1ZCI6Ik10SWlwbEVLak4xVUNxV2l5RjhFbG1pc1hKZ0NOWU1tIiwic3ViIjoiYXV0aDB8NjQ0YWI5NWYyMDUzMWFhZDEyOGFlZDczIiwiaWF0IjoxNzY1MzgzNDMwLCJleHAiOjE3NjU0MTk0MzB9.0b7ru8TL5rnNmsf65fWbukdiJQL41dIR1_sh1MM9zehOs0jbPu-ehFQXoNjWPRc4Zm2CvgbD7drcZVJYJiuUK2slWXNMtbP4NsV-nGvjzvmySgOkHDHW26lF1r8wWxrhXsDBmitSIXWfFDp3jzRakdeWAUfLnhib8a0raZgwwg71ABfp1ax4SUWKcHZZdlLGdVFKwmLRL_5dX3tVzgPi4NvBA-5qjFNULJa5Qm0fqeFXfWf-53kgXtxqP9o7yEbambN6aw4ti2iRjTUA6xNgqdSB06hxd0iFtfIT_D-PNhFAOJ-iGgXYJKVm3RWYrTKmgrLSZLRZOocpYeJBjeUPQg","type":"text"}],"url":"https://live-public-api.agentbot.net/agent/stats?from=2021-12-01 00:00:00&to=2021-12-07 23:59:59","description":"<h1 id=\"get-agent-performance-report\">Get Agent Performance Report</h1>\n<p>Returns detailed performance metrics and statistics for agents, including conversation handling, response times, feedback scores, and productivity indicators.</p>\n<h2 id=\"endpoint\">Endpoint</h2>\n<ul>\n<li><p><strong>URL:</strong> <a href=\"https://live-public-api.agentbot.net/agent/stats\">https://live-public-api.agentbot.net/agent/stats</a></p>\n</li>\n<li><p><strong>Method:</strong> <code>GET</code></p>\n</li>\n</ul>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<h3 id=\"required-parameters\">Required Parameters</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>ParameterTypeDescriptionfromstringStart date for the report period (format: ISO 8601 or yyyy-MM-dd)tostringEnd date for the report period (format: ISO 8601 or yyyy-MM-dd)\n\n</code></pre><h3 id=\"optional-parameters\">Optional Parameters</h3>\n<p>Common optional parameters apply (refer to general API documentation).</p>\n<h2 id=\"response\">Response</h2>\n<h3 id=\"success-response\">Success Response</h3>\n<p><strong>Code:</strong> <code>200 OK</code></p>\n<p><strong>Response Structure:</strong></p>\n<p>json</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>[\n    {\n        \"agent\": {\n            \"agent_id\": \"5fa16ad0b7e89a0070b7f302\",\n            \"name\": \"juan bautista\",\n            \"email\": \"\"\n        },\n        \"attended\": 12,\n        \"transfered\": 4,\n        \"close\": 10,\n        \"conversedTime\": \"49:08:44\",\n        \"tmc\": \"04:05:43\",\n        \"avg_response\": \"00:00:00\",\n        \"session_time\": \"155:04:15\",\n        \"pause_time\": \"00:06:03\",\n        \"conected_time\": \"154:58:12\",\n        \"net_time\": \"49:01:50\",\n        \"productivity\": \"31.62%\",\n        \"attended_average\": \"0.08\",\n        \"abandoned_after_threshold\": 0,\n        \"closed_percentages\": \"83.33%\",\n        \"transferred_percentages\": \"33.33%\",\n        \"feedback\": {\n            \"nps\": {\n                \"total\": 0,\n                \"value\": 0,\n                \"positives\": {\n                    \"total\": 0,\n                    \"avg\": 0\n                },\n                \"negatives\": {\n                    \"total\": 0,\n                    \"avg\": 0\n                },\n                \"neutrals\": {\n                    \"total\": 0,\n                    \"avg\": 0\n                }\n            },\n            \"binary\": {\n                \"total\": 0,\n                \"positives\": {\n                    \"total\": 0,\n                    \"avg\": 0\n                },\n                \"negatives\": {\n                    \"total\": 0,\n                    \"avg\": 0\n                }\n            },\n            \"stars\": {\n                \"total\": 0,\n                \"avg\": 0,\n                \"sum\": 0,\n                \"one\": {\n                    \"total\": 0,\n                    \"avg\": 0\n                },\n                \"two\": {\n                    \"total\": 0,\n                    \"avg\": 0\n                },\n                \"three\": {\n                    \"total\": 0,\n                    \"avg\": 0\n                },\n                \"four\": {\n                    \"total\": 0,\n                    \"avg\": 0\n                },\n                \"five\": {\n                    \"total\": 0,\n                    \"avg\": 0\n                }\n            }\n        }\n    }\n]\n\n</code></pre><h3 id=\"response-fields\">Response Fields</h3>\n<h4 id=\"agent-information\">Agent Information</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>FieldTypeDescriptionagentobjectAgent identification and contact informationagent.agent_idstringUnique identifier of the agentagent.namestringFull name of the agentagent.emailstringEmail address of the agent\n\n</code></pre><h4 id=\"conversation-metrics\">Conversation Metrics</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>FieldTypeDescriptionattendedintegerTotal number of conversations attended by the agenttransferedintegerNumber of conversations transferred to other agents/groupscloseintegerNumber of conversations closed by the agentabandoned_after_thresholdintegerNumber of conversations abandoned after exceeding threshold time\n\n</code></pre><h4 id=\"time-metrics\">Time Metrics</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>FieldTypeDescriptionconversedTimestring (HH:MM:SS)Total time spent in active conversation with userstmcstring (HH:MM:SS)Average conversation handling time (Tiempo Medio de Conversación)avg_responsestring (HH:MM:SS)Average response time to user messagessession_timestring (HH:MM:SS)Total session time (logged in time)pause_timestring (HH:MM:SS)Total time spent in pause/break statusconected_timestring (HH:MM:SS)Total time connected and available (session_time - pause_time)net_timestring (HH:MM:SS)Net productive time in conversations\n\n</code></pre><h4 id=\"performance-indicators\">Performance Indicators</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>FieldTypeDescriptionproductivitystringProductivity percentage (net_time / conected_time * 100)attended_averagestringAverage conversations attended per unit of timeclosed_percentagesstringPercentage of attended conversations that were closedtransferred_percentagesstringPercentage of attended conversations that were transferred\n\n</code></pre><h4 id=\"feedback-metrics\">Feedback Metrics</h4>\n<h5 id=\"nps-net-promoter-score\">NPS (Net Promoter Score)</h5>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>FieldTypeDescriptionfeedback.nps.totalintegerTotal number of NPS feedback responsesfeedback.nps.valuenumberOverall NPS score (-100 to 100)feedback.nps.positives.totalintegerNumber of promoters (score 9-10)feedback.nps.positives.avgnumberAverage score of promotersfeedback.nps.negatives.totalintegerNumber of detractors (score 0-6)feedback.nps.negatives.avgnumberAverage score of detractorsfeedback.nps.neutrals.totalintegerNumber of passives (score 7-8)feedback.nps.neutrals.avgnumberAverage score of passives\n\n</code></pre><h5 id=\"binary-feedback-thumbs-updown\">Binary Feedback (Thumbs Up/Down)</h5>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>FieldTypeDescriptionfeedback.binary.totalintegerTotal number of binary feedback responsesfeedback.binary.positives.totalintegerNumber of positive (thumbs up) responsesfeedback.binary.positives.avgnumberAverage positive feedback valuefeedback.binary.negatives.totalintegerNumber of negative (thumbs down) responsesfeedback.binary.negatives.avgnumberAverage negative feedback value\n\n</code></pre><h5 id=\"star-rating-feedback\">Star Rating Feedback</h5>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>FieldTypeDescriptionfeedback.stars.totalintegerTotal number of star rating feedbacksfeedback.stars.avgnumberAverage star rating (0-5)feedback.stars.sumintegerSum of all star ratingsfeedback.stars.one.totalintegerNumber of 1-star ratingsfeedback.stars.one.avgnumberAverage for 1-star categoryfeedback.stars.two.totalintegerNumber of 2-star ratingsfeedback.stars.two.avgnumberAverage for 2-star categoryfeedback.stars.three.totalintegerNumber of 3-star ratingsfeedback.stars.three.avgnumberAverage for 3-star categoryfeedback.stars.four.totalintegerNumber of 4-star ratingsfeedback.stars.four.avgnumberAverage for 4-star categoryfeedback.stars.five.totalintegerNumber of 5-star ratingsfeedback.stars.five.avgnumberAverage for 5-star category\n\n</code></pre><h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p>The response returns an array of agent performance objects</p>\n</li>\n<li><p>All time values are formatted as <code>HH:MM:SS</code></p>\n</li>\n<li><p>Percentages are returned as strings with the \"%\" symbol</p>\n</li>\n<li><p>Feedback sections will show 0 values if no feedback was collected during the period</p>\n</li>\n<li><p><code>tmc</code> (Tiempo Medio de Conversación) represents the average time per conversation</p>\n</li>\n<li><p>Productivity is calculated as: (net_time / conected_time) × 100</p>\n</li>\n</ul>\n<h3 id=\"use-cases\">Use Cases</h3>\n<p>This endpoint is useful for:</p>\n<ul>\n<li><p>Evaluating individual agent performance</p>\n</li>\n<li><p>Identifying top performers and training opportunities</p>\n</li>\n<li><p>Analyzing customer satisfaction by agent</p>\n</li>\n<li><p>Monitoring agent workload and capacity</p>\n</li>\n<li><p>Generating performance review reports</p>\n</li>\n<li><p>Optimizing agent schedules and assignments</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["agent","stats"],"host":["live-public-api","agentbot","net"],"query":[{"disabled":true,"key":"","value":""},{"key":"from","value":"2021-12-01 00:00:00"},{"key":"to","value":"2021-12-07 23:59:59"}],"variable":[]}},"response":[],"_postman_id":"c7dab44b-cf55-48a3-a217-11038195449d"},{"name":"ConversationList Detail","id":"c675a1d0-3f1e-4d62-8e5d-c25ee3c23198","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"X-Token","value":"<x-token>","type":"text"},{"key":"Authorization","value":"Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Im9TbC1DYkRMamRFWWV0WVU1VTlhaCJ9.eyJodHRwczovL2hhc3VyYS5pby9qd3QvY2xhaW1zIjp7IngtYWx0ZXJuYXRpdmVfaWQiOiIiLCJ4LWN1cnJlbnRfdXNlcl9yb2xlcyI6W10sIngtaGFzdXJhLWFsbG93ZWQtcm9sZXMiOlsidXNlciJdLCJ4LWhhc3VyYS1kZWZhdWx0LXJvbGUiOiJ1c2VyIiwieC1oYXN1cmEtdXNlci1pZCI6ImF1dGgwfDY0NGFiOTVmMjA1MzFhYWQxMjhhZWQ3MyJ9LCJuaWNrbmFtZSI6Im1zb2xhbm8iLCJuYW1lIjoiTWFyY29zIiwicGljdHVyZSI6Imh0dHBzOi8vcy5ncmF2YXRhci5jb20vYXZhdGFyLzk0YmRhMDFhNWI5MTY3OGUwNTNhNGMwY2ZhZmJhNTU0P3M9NDgwJnI9cGcmZD1odHRwcyUzQSUyRiUyRmNkbi5hdXRoMC5jb20lMkZhdmF0YXJzJTJGbWEucG5nIiwidXBkYXRlZF9hdCI6IjIwMjUtMTItMTBUMTY6MTc6MDguMDk0WiIsImVtYWlsIjoibXNvbGFub0BhaXZvLmNvIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImlzcyI6Imh0dHBzOi8vYWl2b3Rlc3QuYXV0aDAuY29tLyIsImF1ZCI6Ik10SWlwbEVLak4xVUNxV2l5RjhFbG1pc1hKZ0NOWU1tIiwic3ViIjoiYXV0aDB8NjQ0YWI5NWYyMDUzMWFhZDEyOGFlZDczIiwiaWF0IjoxNzY1MzgzNDMwLCJleHAiOjE3NjU0MTk0MzB9.0b7ru8TL5rnNmsf65fWbukdiJQL41dIR1_sh1MM9zehOs0jbPu-ehFQXoNjWPRc4Zm2CvgbD7drcZVJYJiuUK2slWXNMtbP4NsV-nGvjzvmySgOkHDHW26lF1r8wWxrhXsDBmitSIXWfFDp3jzRakdeWAUfLnhib8a0raZgwwg71ABfp1ax4SUWKcHZZdlLGdVFKwmLRL_5dX3tVzgPi4NvBA-5qjFNULJa5Qm0fqeFXfWf-53kgXtxqP9o7yEbambN6aw4ti2iRjTUA6xNgqdSB06hxd0iFtfIT_D-PNhFAOJ-iGgXYJKVm3RWYrTKmgrLSZLRZOocpYeJBjeUPQg","type":"text"}],"url":"https://live-public-api.agentbot.net/conversation/get/6fa85c39-3cc6-407a-9f1f-c15bfb88f2a1","description":"<p>Offers the details of the conversation according to the ID of the conversation. From there, you can access all of the queries entered by the user during the course of the conversation, with the respective responses obtained from Live.</p>\n<ul>\n<li><p><strong>URL</strong></p>\n<p>  <a href=\"https://live-public-api.agentbot.net/conversation/get/\">https://live-public-api.agentbot.net/conversation/get/</a></p>\n</li>\n<li><p><strong>Method:</strong></p>\n<p>  <code>GET</code></p>\n</li>\n<li><p><strong>URL Params</strong></p>\n<ul>\n<li><p>Required parameters:</p>\n<ul>\n<li>id=[integer]: conversation id.</li>\n</ul>\n</li>\n<li><p>Optional parameters:</p>\n<p>  Common parameters optional</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Success Response:</strong></p>\n<ul>\n<li><p>{ \"messages\": [ { \"userId\": \"0\", \"type\": 3, \"timestamp\": \"2019-10-01 12:06:13\", \"message\": \"Bienvenido al Centro de Atención al Cliente online. Mi nombre es Baz ¿Con quién tengo el gusto?\", \"agentId\": 111112 }, { \"userId\": \"7773331\", \"type\": 1, \"timestamp\": \"2019-10-01 12:06:33\", \"message\": \"Mi nombre es Foo\", \"agentId\": 0 }, ]}</p>\n</li>\n<li><p><strong>The response contains an array of these elements</strong></p>\n<ul>\n<li><p>userId: The ID of the user, if the message was sended by an agent, it will be zero</p>\n</li>\n<li><p>type: The type of the user</p>\n</li>\n<li><p>timestamp: The timestamp of message</p>\n</li>\n<li><p>message: The raw message</p>\n</li>\n<li><p>agentId: The ID of the agent who have sended the message, if the message was sended by a normal user it will be zero</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["conversation","get","6fa85c39-3cc6-407a-9f1f-c15bfb88f2a1"],"host":["live-public-api","agentbot","net"],"query":[{"disabled":true,"key":"","value":null}],"variable":[]}},"response":[],"_postman_id":"c675a1d0-3f1e-4d62-8e5d-c25ee3c23198"}]}