ListSchemeTaskConfig

Updated at:

Corresponds to the frontend feature location: Task Management. Apsara Stack URL: ip:port/api/task/ListSchemeTaskInfo.json.

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

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

sca:ListSchemeTaskConfig

list

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

jsonStr

string

No

The input JSON string. For more information, see the supplementary description of request parameters.

{"pageNumber":1,"pageSize":10,"sourceDataType":"1"}

BaseMeAgentId

integer

No

The ID of the business workspace.

123456

JsonStr description

PropertyValue typeRequiredDescription
pageNumberIntegerNoThe current page.
pageSizeIntegerNoThe number of entries per page.
sourceDataTypeIntegerYesThe task type. Valid values: 1 (offline speech), 2 (offline text), 3 (real-time speech), 4 (real-time text), 51 (secondary quality inspection for offline speech), 52 (secondary quality inspection for offline text), 53 (secondary quality inspection for real-time speech), and 54 (secondary quality inspection for real-time text).

Response elements

Element

Type

Description

Example

object

ListResult

Data

object

Data

array<object>

The complete response content.

array<object>

SchemeTaskConfig

Id

integer

The ID of the quality inspection task.

123

SchemeTaskConfigId

integer

The ID of the quality inspection task.

123

Name

string

The name of the quality inspection task.

Inspection Task A

SourceDataType

integer

The type of the quality inspection result. Valid values:

  • 1: Offline speech quality inspection.

  • 2: Offline text quality inspection.

  • 3: Real-time speech quality inspection.

  • 4: Real-time text quality inspection.

  • 5: Secondary quality inspection for call centers.

  • 51: Secondary speech quality inspection for call centers.

  • 52: Secondary text quality inspection for call centers.

  • 11: Dataset speech.

  • 12: Dataset text.

2

Status

integer

The status of the task. Valid values:

  • 0: Disabled.

  • 1: Enabled.

1

ManualReview

integer

The manual review status.

0

AssignType

integer

The assignment type.

0

DataConfig

object

The data configuration information.

Index

integer

The index number.

0

AssignConfigs

object

AssignConfig

array<object>

The filter criteria for the recorded data.

array<object>

The filter criteria for the recorded data.

AssignConfigContests

object

AssignConfigContest

array<object>

The matching configuration for the recorded data parameters.

array<object>

The matching configuration for the recorded data parameters.

Name

string

Check item name

callStartTime

DataType

integer

Type of value

  • 0: String

  • 1: Number

  • 2: List (use list type to pass parameter value when using =)

  • 3: Date

  • 4: List_Json

3

Symbol

integer

Operator

  • 1: ==

  • 2: >

  • 3: <

  • 4: Range

  • 5: >=

  • 6: <=

  • 7: !=

  • 8: null

  • 9: not null

  • 10: Contains

  • 11: Does not contain

4

Value

string

Recorded data matching value.

{\"start\":\"2022-09-01 00:00:00\",\"end\":\"2022-09-30 00:00:00\"}

ListObject

object

ListObject

array

Recorded data list.

any

Recorded data list.

business

ResultParam

string

The JSON text of the conditional filters for secondary quality inspection. For more information, see the request parameters of the GetResult operation to obtain the node result.

{}

DataSets

string

The datasets managed for dataset tasks.

[]

SchemeIdList

object

SchemeIdList

array

The list of quality inspection scheme IDs.

integer

The ID of the quality inspection scheme.

158

SchemeList

object

SchemeList

array<object>

The list of quality inspection schemes.

object

The quality inspection scheme.

SchemeId

integer

The ID of the quality inspection scheme.

158

Name

string

The name of the quality inspection scheme.

Quality Inspection Scheme B

AsrTaskPriority

integer

The priority of the task. Valid values:

  • 0: Low.

  • 1: Medium.

  • 2: High.

2

ModeCustomizationId

string

The ID of the language model.

cdae396590b*****ec40f3476e274fc

ModelName

string

The name of the language model.

Language Model A

VocabId

string

The ID of the hot word model.

9f90b3efa2****0a49acec226eafc17

VocabName

string

The name of the hot word model.

Hot Word Model A

UserGroup

string

The ID of the user group.

1

CreateUser

integer

The ID of the user who created the task.

1

CreateTime

string

The creation time.

1650418039000

UpdateTime

string

The update time.

1650418039000

UpdateUser

integer

The ID of the user who updated the task.

1

Type

integer

The type.

0

NumberSum

integer

The total amount of data.

1000

NumberSuccess

integer

The number of successful data records.

1000

NumberFail

integer

The number of failed data records.

0

FinishRate

number

The task completion rate.

100

NumberExecuting

integer

The number of data records being processed.

0

AsrVersion

integer

The ASR version. Valid values:

  • 2/null: V2 version (intelligent interactive voice response ASR).

  • 3: V3 version (Paraformer ASR).

3

Count

integer

The total number of entries.

22

CurrentPage

integer

The current page number.

1

PageSize

integer

The number of entries per page.

10

PageNumber

integer

The current page.

1

ResultCountId

string

An internal field. Ignore this field.

Ignore

LastDataId

string

The identifier of the current data record. When you use the GetResult operation to query more than 10,000 data records, you must include the lastDataId value of the last data record from the previous query result in the request parameters of each subsequent request.

1000

RequestId

string

The request ID.

4B0A8DCD-0DDF-5E80-8B9C-0A2F68B3403B

Success

boolean

Indicates whether the request is successful. You can determine whether the request is successful based on this field. A value of true indicates success, and a value of false or null indicates failure.

true

Code

string

The result code. A value of 200 indicates success. Any other value indicates failure. You can determine the cause of the failure based on this field.

200

Message

string

The error details when an error occurs, or successful when the request is successful.

successful

Messages

object

Message

array

The list of messages.

string

The message.

None

HttpStatusCode

integer

The HTTP status code.

200

Examples

Success response

JSON format

{
  "Data": {
    "Data": [
      {
        "Id": 123,
        "SchemeTaskConfigId": 123,
        "Name": "检测任务A",
        "SourceDataType": 2,
        "Status": 1,
        "ManualReview": 0,
        "AssignType": 0,
        "DataConfig": {
          "Index": 0,
          "AssignConfigs": {
            "AssignConfig": [
              {
                "AssignConfigContests": {
                  "AssignConfigContest": [
                    {
                      "Name": "callStartTime",
                      "DataType": 3,
                      "Symbol": 4,
                      "Value": "{\\\"start\\\":\\\"2022-09-01 00:00:00\\\",\\\"end\\\":\\\"2022-09-30 00:00:00\\\"}",
                      "ListObject": {
                        "ListObject": [
                          "business"
                        ]
                      }
                    }
                  ]
                }
              }
            ]
          },
          "ResultParam": "{}",
          "DataSets": "[]"
        },
        "SchemeIdList": {
          "SchemeIdList": [
            158
          ]
        },
        "SchemeList": {
          "SchemeList": [
            {
              "SchemeId": 158,
              "Name": "质检方案B"
            }
          ]
        },
        "AsrTaskPriority": 2,
        "ModeCustomizationId": "cdae396590b*****ec40f3476e274fc",
        "ModelName": "语言模型A",
        "VocabId": "9f90b3efa2****0a49acec226eafc17",
        "VocabName": "热词模型A",
        "UserGroup": "1",
        "CreateUser": 1,
        "CreateTime": "1650418039000",
        "UpdateTime": "1650418039000",
        "UpdateUser": 1,
        "Type": 0,
        "NumberSum": 1000,
        "NumberSuccess": 1000,
        "NumberFail": 0,
        "FinishRate": 100,
        "NumberExecuting": 0,
        "AsrVersion": 3
      }
    ]
  },
  "Count": 22,
  "CurrentPage": 1,
  "PageSize": 10,
  "PageNumber": 1,
  "ResultCountId": "忽略",
  "LastDataId": "1000",
  "RequestId": "4B0A8DCD-0DDF-5E80-8B9C-0A2F68B3403B",
  "Success": true,
  "Code": "200",
  "Message": "successful",
  "Messages": {
    "Message": [
      "无"
    ]
  },
  "HttpStatusCode": 200
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.