Pular para o conteúdo principal
GET
Get Operator Statistics
Use este recurso para medir o desempenho da sua equipe de suporte: filtre por um operatorId específico para uma análise individual ou consulte o intervalo completo para uma visão geral da equipe.

Endpoint


Autenticação


Parâmetros de consulta

Se você omitir operatorId, a consulta agrega as estatísticas de todos os operadores dentro do intervalo de datas informado.

Exemplos de solicitação


Respostas


Detalhe da resposta

Use attended e notAttended junto com avgOperatorResponseTime para avaliar a carga e a eficiência de cada operador dentro do intervalo consultado.

Autorizações

Authorization
string
header
obrigatório

Basic authentication using Base64 encoded clientId:clientSecret

Parâmetros de consulta

startAt
string<date>
obrigatório

Search start date

endAt
string<date>
obrigatório

Search end date

operatorId
integer

Operator ID to filter statistics for a specific operator

Resposta

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