Get Agent Service Time Metrics

HTTP MethodURLRequires Auth

GET

/api/v1/livechat/analytics/dashboards/agents-productivity-totalizers

Permission required: view-livechat-manager

Query Parameters

KeyExample ValueDescription

start*

2021-07-20T19:00:00.000Z

The start time.

end*

2021-07-21T18:59:59.000Z

The end time.

departmentId

CAJioQNAvLnYWTy8i

The department ID. This parameter is optional.

Example Call

curl --location --request GET 'http://localhost:3000/api/v1/livechat/analytics/dashboards/agents-productivity-totalizers?departmentId=CAJioQNAvLnYWTy8i&start=2021-07-20T19:00:00.000Z&end=2021-07-21T18:59:59.000Z\
--header 'X-Auth-Token: myauth-token' \
--header 'X-User-Id: myuser-name'

Example Response

{
    "totalizers": [
        {
            "title": "Busiest_time",
            "value": "9AM- 10AM"
        },
        {
            "title": "Avg_of_available_service_time",
            "value": "00:45:18"
        },
        {
            "title": "Avg_of_service_time",
            "value": "00:06:00"
        }
    ],
    "success": true
}

Last updated

Rocket.Chat versions receive support for six months after release.