---
title: "Get Agent Statistics for all Queues by Agent"
method: GET
path: "/domains/{domain}/statistics/agent"
tags: ["Call Center/Statistics", "44.3"]
---

# Get Agent Statistics for all Queues by Agent

`GET /domains/{domain}/statistics/agent`

## Request

- Base URL: `https://ns-api.com/ns-api/v2`
- URL: `https://ns-api.com/ns-api/v2/domains/{domain}/statistics/agent`
- Auth: HTTP bearer

## Path parameters

- `domain` string, required: This is the main organization name. This is used to link resource to its group/tenant/organization/enterprise. Then using in path for GET you can set to "~" to use the domain name linked to your token/key instead of the domain name itself when reading for your own domain.

## Query parameters

- `datetime-start` string, rfc3339, required: This is the start of the time window for a given query. The format is based on RFC3339 but also will support additonal params for use in providing a timezone which will allow the API to give the correct range for a given set of data and will be formated in respone using the same format. Supported formats include. * 2023-11-27 13:00:00 * 2023-11-27T13:00:00Z * 2023-11-27T13:00:00-08:00 * 2023-11-27T13:00:00-08:00[US/Pacific] * 2023-11-27T13:00:00Z[America/Phoenix]
- `datetime-end` string, rfc3339, required: This is the end of the time window for a given query. The format is based on RFC3339 but also will support additonal params for use in providing a timezone which will allow the API to give the correct range for a given set of data and will be formated in respone using the same format. Allowed values same as datetime-start.
- `fields` string
- `department` string
- `remove_zeros` string

## Response `200`

- object
  - `calls-answered-count` integer: Number of calls answered by agent originating through a Call Queue. The call must also terminate with the agent to be counted as a call handled.
  - `calls-talking-avg-duration-minutes` number: Average number of minutes spent by agent talking per call, on calls originating through a Call Queue. Excludes hold time.
  - `calls-assisted-count` integer: Number of calls answered and then transferred to another agent.
  - `calls-after-call-work-avg-duration-seconds` integer: Average time an agent spends between the end of a call and submitting call disposition. This metric is only applied to agents using Single Call Mode.
  - `calls-holding-avg-duration-seconds` number: Average time a caller spends on hold with an agent. Excludes waiting time in the Call Queue.
  - `calls-handling-avg-duration-minutes` number: Average time an agent spent on a call. Includes Talk Time (TT), Hold Time (AH), and Disposition Time (ACW).
  - `outbound-calls-attempted-count` integer: Number of outbound call attempts by an agent. Excludes on-net calls and conference calls.
  - `outbound-calls-answered-count` integer: Number of outbound calls by agent answered by a remote party. Includes calls answered by voicemail. Excludes on-net calls and conference calls.
  - `outbound-calls-duration-minutes` number: Number of minutes spent by an agent on outbound calls. Includes talk and hold time. Excludes call center calls, on-net calls, and conference calls.
  - `outbound-calls-avg-duration-minutes` number: Average length of time spent by an agent on outbound calls. Excludes call center calls, on-net calls, and conference calls.
  - `inbound-calls-presented-count` integer: Number of attempted calls inbound to agent. Includes call center calls. Excludes on-net calls and conference calls.
  - `inbound-calls-answered-count` integer: Number of inbound answered calls to an agent. Includes call center calls. Excludes on-net calls and conference calls.
  - `inbound-calls-duration-minutes` number: Number of minutes spent by an agent on inbound calls. Includes call center calls. Includes talk and hold time. Excludes on-net calls and conference calls.
  - `inbound-calls-avg-duration-minutes` number: Average length of time spent by an agent on inbound calls. Includes call center calls. Excludes on-net calls and conference calls.
  - `name` string: Name
  - `calls-talking-duration-minutes` number: The number of minutes spent by an agent on answered calls originating through a Call Queue.
  - `calls-unanswered-count` integer: Number of calls originating through a call queue offered to an agent but not answered. This includes multiple attempts if a call loops through all agents, but excludes unanswered simultaneous ring calls.

## Other responses

- `400`
- `401`
- `404`

## Changes

- **2026-11-03** `bce16087d479`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ns-api/apis/netsapiens-api-v2/changes/domains/:domain/statistics/agent/get.md)

---

[API](https://skmtc.dev/ns-api/apis/netsapiens-api-v2.md) - [All operations](https://skmtc.dev/ns-api/apis/netsapiens-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/ns-api/apis/netsapiens-api-v2/revisions/bce16087d479?raw)
