Saltar al contenido principal
GET
Get Operator Statistics
Usa este recurso para medir el desempeño de tu equipo de soporte: filtra por un operatorId puntual para un análisis individual o consulta el rango completo para una vista general del equipo.

Endpoint


Autenticación


Parámetros de consulta

Si omites operatorId, la consulta agrega las estadísticas de todos los operadores dentro del rango de fechas indicado.

Ejemplos de solicitud


Respuestas


Detalle de la respuesta

Usa attended y notAttended junto con avgOperatorResponseTime para evaluar la carga y la eficiencia de cada operador dentro del rango consultado.

Autorizaciones

Authorization
string
header
requerido

Basic authentication using Base64 encoded clientId:clientSecret

Parámetros de consulta

startAt
string<date>
requerido

Search start date

endAt
string<date>
requerido

Search end date

operatorId
integer

Operator ID to filter statistics for a specific operator

Respuesta

Statistics retrieved successfully

_id
integer

Identifier of the queried operator or aggregation

total
integer

Total cases within the date range

actual
integer

Cases currently in the queue

attended
integer

Attended cases

expired
integer

Cases that expired without attention

lastMessageOperator
integer

Conversations whose last message was sent by the operator

lastMessageUser
integer

Conversations whose last message was sent by the user

lastMessageBot
integer

Conversations whose last message was sent by the bot

notAttended
integer

Unattended cases

avgReplyTime
number

Average reply time, in seconds

avgOperatorResponseTime
number

Average operator response time, in seconds

transfered
integer

Cases transferred to another operator or team

avgConversationTime
number

Average conversation duration, in seconds

operator
object