GetIndexCurrentValue
Retrieves current data statistics metrics (real-time data), supporting queries grouped by instance ID, department, or skill group.
Operation description
Current data statistics metrics include cumulative metrics for the current day and real-time metrics.
To specify department or skill group information, follow the instructions in the request parameters descriptions to obtain the required values.
Query logic priority:
If GroupIds is not empty, the data metrics for the corresponding skill group list are queried.
Otherwise, if DepIds is not empty, the data metrics for the corresponding department list are queried.
Otherwise, the data metrics for the AICCS instance are queried.
QPS limit
Per-user call frequency: No throttling.
API frequency: 100 calls per second.
If the total calls from multiple users exceed the API frequency, throttling is also triggered.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DepIds |
string |
No |
The list of department IDs. Separate multiple IDs with commas (,). Call the GetAllDepartment operation and check the DepartmentId parameter in the response to obtain the department ID. Note
When this parameter is not empty:
|
2332****,2334**** |
| GroupIds |
string |
No |
The list of skill group IDs. Separate multiple IDs with commas (,). Call the QuerySkillGroups operation and check the SkillGroupId parameter in the response to obtain the skill group ID. Note
When this parameter is not empty, the query is performed based on the skill group list corresponding to this parameter. |
2323****,2324**** |
| InstanceId |
string |
No |
The AICCS instance ID. You can obtain the instance ID from Instance Management in the left-side navigation pane of the Artificial Intelligence Cloud Call Service console. Note
The AICCS instance ID is required. |
ccc_xp_pre-cn-*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| Code |
string |
The status code. A value of 200 indicates that the request was successful. |
200 |
| Data |
array<object> |
The data list. |
|
|
object |
The list of key-value pair data. |
[{"indexName":"hotlineRateRateSati","canAcc":"true","indexValue":"100%","indexNameShow":"hotlineRateRateSati","desc":"Hotline instant satisfaction rate (number of satisfied ratings received on the day / number of ratings)"}] |
|
| Message |
string |
The description of the status code. |
OK |
| RequestId |
string |
The request ID. |
EE338D98-9BD3-4413-B165 |
| Success |
boolean |
Indicates whether the call was successful. Valid values:
|
true |
Data description
| Field | Type | Description |
| indexName | String | The metric code. |
| canAcc | Boolean | Indicates whether the metric can be accumulated. A value of false indicates an instantaneous data metric. |
| indexValue | String | The metric value. |
| indexShowName | String | The metric display name. |
| desc | String | The metric description. |
Existing metrics
| IndexName | IndexShowName |
| hotlineRateRateSati | Hotline instant satisfaction rate (number of satisfied ratings received on the day / number of ratings) |
| hotline_rate_service_level | Service level |
| punctual | Schedule adherence |
| n_incall | Customer call requests (including answered and unanswered calls) |
| n_normal_answer | Customer call requests answered by agents |
| n_overflow_in | Overflow-in volume |
| n_overflow_out | Overflow-out volume |
| n_inqueue | Current queue volume |
| t_inqueue_max | Maximum wait time among all queued calls (unit: seconds) |
| tgive_rate | (Incoming calls - Answered calls) / Incoming calls |
| pickup_rate_20s | Calls answered within 20s / Incoming calls |
| pickup_rate_60s | Calls answered within 60s / Incoming calls |
| n_online_now | Number of agents currently online (including in-call, idle, break, and after-call work states) |
| n_busy_now | Number of agents in the in-call state (including inbound and outbound calls) |
| n_idle_now | Number of agents in the idle state (normally indicates the agent can answer or make calls) |
| n_acw_now | Number of agents in the after-call work state |
| n_resttype_now | Number of agents in the break state (including sign-in break, regular break, meal break, training break, and all other break states) |
| n_resttype1_now | Number of agents in the regular break state |
| n_resttype2_now | Number of agents in the meal break state |
| n_resttype3_now | Number of agents in the meeting break state |
| n_resttype4_now | Number of agents in the coaching break state |
| n_resttype5_now | Number of agents in the training break state |
| n_resttype98_now | Number of agents in the system-forced break state |
| n_resttype99_now | Number of agents in the sign-in break state |
| hotlineNumRateSati | Number of hotline instant satisfied ratings (number of satisfied ratings received on the day) |
| hotlineNumRateUnSati | Number of hotline instant unsatisfied ratings (number of unsatisfied ratings received on the day) |
| hotlineNumRateNormal | Number of hotline instant neutral ratings (number of neutral ratings received on the day) |
| ATT | Average inbound call talk time |
| ACW | Average after-call work time |
| INCALL ACW | Average inbound after-call work time |
| OUTCALL ACW | Average outbound after-call work time |
| hotline_rate_value_data | Hotline instant survey satisfaction rate |
| hotline_rate_accumulate_data | Number of survey responses |
Examples
Success response
JSON format
{
"Code": "200",
"Data": [
[
{
"indexName": "hotlineRateRateSati",
"canAcc": "true",
"indexValue": "100%",
"indexNameShow": "hotlineRateRateSati",
"desc": "Hotline instant satisfaction rate (number of satisfied ratings received on the day / number of ratings)"
}
]
],
"Message": "OK",
"RequestId": "EE338D98-9BD3-4413-B165",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | SystemError | A system error occurred. Please contact the administrator. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.