GetAiOutboundTaskProgress

Updated at:

Obtain the outbound call job progress by instance ID and job ID.

Operation description

  • Before invoking this API, we recommend that you confirm the instance ID and job ID. For more information, see Request Parameters.

  • The outbound call job progress includes information such as job ID, Task Type, job completion rate, agent connection rate, and customer connection rate. For details, see Response Parameters.

Queries per second (QPS) limits

  • Per-user invocation frequency: 100 times/second.

  • API-wide invocation frequency: 100 times/second.

Note

If the total invocations from multiple users exceed the API-wide frequency limit, throttling will be 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

InstanceId

string

Yes

The Artificial Intelligence Cloud Call Service (AICCS) instance ID.
You can obtain it in the Instance Management section of the left-side navigation pane in the Artificial Intelligence Cloud Call Service console.

agent_***

TaskId

integer

Yes

Job ID.

You can invoke the CreateAiOutboundTask API and check the Data field in the response, or invoke the GetAiOutboundTaskList API and check the TaskId field in the response.

123456

BatchVersion

integer

No

Job batch.

Note

If empty, queries all data under the job.

1

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The request ID.

D9CB3933-9FE3-4870-BA8E-2BEE91B69D23

Message

string

Description of the status code.

ok

Data

object

Job progress.

Type

integer

Task Type. Valid values:

  • 2: Predictive.

  • 3: Automatic.

2

TaskId

integer

The job ID.

123456

CalloutProgress

object

Progress by outbound call dimension.

CallOutCount

integer

Number of outbound calls.

10

CallOutConnectCount

integer

Number of successful outbound call connections.

Note

This parameter is specific to automatic outbound calls.

5

CallOutUserPickupCount

integer

Customer Pickup Count.

Note

A parameter exclusive to predictive outbound calls.

5

CallOutUserPickupRate

number

Customer Pickup Rate.

Note

A parameter exclusive to predictive outbound calls.

0.5

CallLossRate

number

Call Loss Rate.

Note

A parameter exclusive to predictive outbound calls.

0.01

CallOutConnectRate

number

Outbound Call Connection Rate.

Note

A parameter exclusive to automated outbound calls.

0.5

CallOutServicerPickupCount

integer

Agent Pickup Count.

Note

A parameter exclusive to predictive outbound calls.

4

CallLossCount

integer

Call loss count.

Note

A parameter specific to predictive outbound calls.

1

CallOutServicerPickupRate

number

Agent pickup rate.

Note

A parameter specific to predictive outbound calls.

0.4

TaskProgress

object

Job dimension progress.

FinishRate

number

Job completion rate.

0.20

ConnectRate

number

Job connection rate.

Note

A parameter specific to automatic outbound calls.

0.2

WaitingCallCount

integer

Number of pending call jobs.

2

FinishCount

integer

Number of completed jobs.

2

ConnectCount

integer

Number of connected jobs.

Note

Parameter specific to auto dialing.

2

TotalCount

integer

Total number of jobs.

10

WaitingRecallCount

integer

Number of jobs pending redial.

2

TerminateCount

integer

Number of stopped jobs.

2

ServicerPickupCount

integer

Number of agent pickups.

Note

Parameter specific to predictive dialing.

2

UserPickupCount

integer

Number of customer pickups.

Note

Parameter specific to predictive dialing.

2

CallingCount

integer

Number of jobs in calling status.

2

ServicerPickupRate

number

Agent pickup rate.

Note

Exclusive parameter for predictive outbound calls.

0.2

UserPickupRate

number

Customer pickup rate.

Note

Exclusive parameter for predictive outbound calls.

0.2

Code

string

Status code.

ok

Success

boolean

Indicates whether the API call succeeded.

  • true: Succeeded.

  • false: Failed.

true

Examples

Success response

JSON format

{
  "RequestId": "D9CB3933-9FE3-4870-BA8E-2BEE91B69D23",
  "Message": "ok",
  "Data": {
    "Type": 2,
    "TaskId": 123456,
    "CalloutProgress": {
      "CallOutCount": 10,
      "CallOutConnectCount": 5,
      "CallOutUserPickupCount": 5,
      "CallOutUserPickupRate": 0.5,
      "CallLossRate": 0.01,
      "CallOutConnectRate": 0.5,
      "CallOutServicerPickupCount": 4,
      "CallLossCount": 1,
      "CallOutServicerPickupRate": 0.4
    },
    "TaskProgress": {
      "FinishRate": 0.2,
      "ConnectRate": 0.2,
      "WaitingCallCount": 2,
      "FinishCount": 2,
      "ConnectCount": 2,
      "TotalCount": 10,
      "WaitingRecallCount": 2,
      "TerminateCount": 2,
      "ServicerPickupCount": 2,
      "UserPickupCount": 2,
      "CallingCount": 2,
      "ServicerPickupRate": 0.2,
      "UserPickupRate": 0.2
    }
  },
  "Code": "ok",
  "Success": true
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.