Retrieve real-time Call Target statistics

get
https://{api-gateway-hostname}
/v2/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.

data
object
callTargetId
string

The ID of the Call Target that processed this call.

callTargetName
string

The name of the Call Target that processed this call.

createdAt
string<uuid>

For first attempt callbacks, and calls without a callback, this is the time Mindful first became aware of the call. For subsequent attempts, and rescheduled callbacks, this is the time the retry was created by the previous attempt.

estimatedCallbackTime
integer or null

An estimate of the duration in seconds that a customer would be waiting for their callback, calculated at the time the callback was registered.

firstPartyCalled
string

For Callbacks, this indicates which party Mindful attempted to connect with first.

Allowed values:
agentcustomer
totalCurrentActive
integer

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.

totalCurrentAsap
integer

The number of ASAP callbacks currently pending for the Call Target.

totalCurrentConnecting
integer

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

totalCurrentPending
integer

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

totalCurrentQueued
integer

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

totalCurrentRegistering
integer

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

totalCurrentRetries
integer

The number of retries currently pending for the Call Target.

totalCurrentScheduled
integer

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

totalCurrentTalking
integer

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

totalCurrentWaitlisted
integer

Indicates the number of callbacks in the virtual waitlist waiting to be dialed. These callbacks have reached their expected callback time, but are currently prevented from dialing out by queueing safeguards (Max Queue Depth and/or Max Active Calls).

Auth
:
Server Variables
:
Parameters
:
curl --request GET \
--url https://api.getmindful.com/v2/callback/current/metrics/callTargetId \
--header 'Accept: application/json' \
--header 'Authorization: Bearer 123'
Response Example
1
{
2
"data": {
3
"callTargetId": "string",
4
"callTargetName": "string",
5
"createdAt": "491b6fb1-8484-4a76-9445-9ccf01093bd3",
6
"estimatedCallbackTime": 0,
7
"firstPartyCalled": "agent",
8
"totalCurrentActive": 0,
9
"totalCurrentAsap": 0,
10
"totalCurrentConnecting": 0,
11
"totalCurrentPending": 0,
12
"totalCurrentQueued": 0,
13
"totalCurrentRegistering": 0,
14
"totalCurrentRetries": 0,
15
"totalCurrentScheduled": 0,
16
"totalCurrentTalking": 0,
17
"totalCurrentWaitlisted": 0
18
}
19
}