GET /domains/{domain}/statistics/agent/{agent}/timeline.Authorization: Bearer ********************interval, a map from agent extension to minutes per status over the whole window. With interval, the bucketed shape: each bucket gives the minutes summed over the agents in agents. A status period counts for the part of it inside the window or bucket, so an hour inside a lunch reads as 60 minutes of lunch. A status the agent is still in counts up to now. A status's minutes are never more than the window length.curl --location 'https://awqacore01.crexendocloud.com/ns-api/v2/domains//statistics/agentLog?datetime-start=2026-09-01T00%3A00%3A00-07%3A00&datetime-end=2026-09-02T00%3A00%3A00-07%3A00&fields=AM%2CLI%2CMC&interval=15m&remove_zeros=true&department=Support&site_list=Main%20Office&group_list=Support&agent_list=1001%2C1002&range_interval=-5%20hour' \
--header 'Authorization: Bearer <token>'{
"1001": {
"status-available-duration-minutes": 412.5,
"status-unavailable-duration-minutes": 67.5,
"status-lunch-duration-minutes": 30.0,
"status-break-duration-minutes": 15.0
},
"1002": {
"status-available-duration-minutes": 455.0,
"status-unavailable-duration-minutes": 25.0,
"status-lunch-duration-minutes": 25.0,
"status-break-duration-minutes": 0.0
}
}