GetIndexCurrentValue

Updated at:

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.

Note

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.

Note

If the total calls from multiple users exceed the API frequency, throttling is also triggered.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

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:

  • If GroupIds is not empty, the query is performed based on the skill group list corresponding to GroupIds.

  • If GroupIds is empty, the query is performed based on the department list corresponding to this parameter.

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: Successful.

  • false: Failed.

true

Data description

FieldTypeDescription
indexNameStringThe metric code.
canAccBooleanIndicates whether the metric can be accumulated. A value of false indicates an instantaneous data metric.
indexValueStringThe metric value.
indexShowNameStringThe metric display name.
descStringThe metric description.

Existing metrics

IndexNameIndexShowName
hotlineRateRateSatiHotline instant satisfaction rate (number of satisfied ratings received on the day / number of ratings)
hotline_rate_service_levelService level
punctualSchedule adherence
n_incallCustomer call requests (including answered and unanswered calls)
n_normal_answerCustomer call requests answered by agents
n_overflow_inOverflow-in volume
n_overflow_outOverflow-out volume
n_inqueueCurrent queue volume
t_inqueue_maxMaximum wait time among all queued calls (unit: seconds)
tgive_rate(Incoming calls - Answered calls) / Incoming calls
pickup_rate_20sCalls answered within 20s / Incoming calls
pickup_rate_60sCalls answered within 60s / Incoming calls
n_online_nowNumber of agents currently online (including in-call, idle, break, and after-call work states)
n_busy_nowNumber of agents in the in-call state (including inbound and outbound calls)
n_idle_nowNumber of agents in the idle state (normally indicates the agent can answer or make calls)
n_acw_nowNumber of agents in the after-call work state
n_resttype_nowNumber of agents in the break state (including sign-in break, regular break, meal break, training break, and all other break states)
n_resttype1_nowNumber of agents in the regular break state
n_resttype2_nowNumber of agents in the meal break state
n_resttype3_nowNumber of agents in the meeting break state
n_resttype4_nowNumber of agents in the coaching break state
n_resttype5_nowNumber of agents in the training break state
n_resttype98_nowNumber of agents in the system-forced break state
n_resttype99_nowNumber of agents in the sign-in break state
hotlineNumRateSatiNumber of hotline instant satisfied ratings (number of satisfied ratings received on the day)
hotlineNumRateUnSatiNumber of hotline instant unsatisfied ratings (number of unsatisfied ratings received on the day)
hotlineNumRateNormalNumber of hotline instant neutral ratings (number of neutral ratings received on the day)
ATTAverage inbound call talk time
ACWAverage after-call work time
INCALL ACWAverage inbound after-call work time
OUTCALL ACWAverage outbound after-call work time
hotline_rate_value_dataHotline instant survey satisfaction rate
hotline_rate_accumulate_dataNumber 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.