Retrieve real-time Call Target statistics

get
https://{api-gateway-hostname}
/v1/callback/current/metrics/{callTargetId}
callTargetId
integer
required

The call target ID from which to retrieve metrics.

An array of current metrics for all Call Targets will be returned.

responses
/
200
call_target_id
string

A numeric identifier for each Call Target

call_target_name
string

The user-provided name of the Call Target

first_party_called
string

The value of the First Party Called setting (customer or agent)

ecbt
number

The current ECBT of the Call Target, in seconds

asap_count
number or null

The number of ASAP callbacks currently pending for the Call Target

scheduled_count
number

The number of scheduled callbacks currently pending for the Call Target. This includes all callbacks scheduled in the future.

retries_count
number

The number of retries currently pending for the Call Target

waitlisted_count
number

The number of callbacks currently on the internal waitlist waiting to be dialed when queue conditions allow

active_count
number

The current number of active calls. In this context, "active" means all currently active outbound calls. This differs from the Active Calls field on the Callback Status screen, which only includes calls with an agent on the line.

queued_count
number

The number of callbacks currently in the high-priority holding queue waiting for an agent. This only includes callbacks, not holding calls in queue.

total_registering
number

The total number of calls currently entering information in Mindful Callback to receive a callback on the Call Target

total_pending
number

The total number of calls currently waiting for customers to be dialed on the Call Target

total_connecting
number

The total number of callbacks currently being dialed to customers on the Call Target

total_talking
number

The total number of customers speaking with agents after receiving their callback on the Call Target

created_at
string

An ISO8601 timestamp representing the moment that the metrics were generated

Auth
:
Server Variables
:
Parameters
:
curl --request GET \
--url https://api.getmindful.com/v1/callback/current/metrics/callTargetId \
--header 'Accept: application/json' \
--header 'Authorization: Bearer 123'
Response Example
1
{
2
"call_target_id": "string",
3
"call_target_name": "string",
4
"first_party_called": "string",
5
"ecbt": 0,
6
"asap_count": 0,
7
"scheduled_count": 0,
8
"retries_count": 0,
9
"waitlisted_count": 0,
10
"active_count": 0,
11
"queued_count": 0,
12
"total_registering": 0,
13
"total_pending": 0,
14
"total_connecting": 0,
15
"total_talking": 0,
16
"created_at": "string"
17
}