GetSchemeTaskConfig

Updated at:

Obtain the configuration details of a quality inspection task.

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:GetSchemeTaskConfig

none

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

BaseMeAgentId

integer

No

Workspace ID

12345

JsonStr

string

No

A complete JSON string. See the detailed information below.

{"sourceDataType":3,"id":588}

About JsonStr

PropertyTypeRequiredDescription
idintegerYesTask ID
sourceDataTypeintegerYesTask type: 1 (offline voice), 2 (offline text), 3 (real-time voice), 4 (real-time text), 51 (offline voice secondary quality inspection), 52 (offline text secondary quality inspection), 53 (real-time voice secondary quality inspection), or 54 (real-time text secondary quality inspection)

Response elements

Element

Type

Description

Example

object

Response schema

RequestId

string

Request ID

3CEA0495-341B-4482-9AD9-8191EF4***

Code

string

Result code. 200 means success.

Note

Any other value means failure. The caller can use this field to identify the cause.

200

Success

string

Indicates whether the request succeeded. Use this field to check the result: true means success, false or null means failure.

true

Message

string

Error details if the request failed. Returns successful if the request succeeded.

successful

HttpStatusCode

string

HTTP status code

200

Data

object

Response data. See the additional notes below.

Id

integer

Quality inspection task ID

3

SchemeTaskConfigId

integer

Quality inspection task ID

123

Name

string

Quality inspection task name

test

SourceDataType

string

Quality inspection result type:

  • 1: offline voice

  • 2: offline text

  • 3: real-time voice

  • 4: real-time text

  • 5: contact center secondary quality inspection

  • 51: call center voice secondary quality inspection

  • 52: call center text secondary quality inspection

  • 11: dataset voice

  • 12: dataset text

1

Status

string

Enable status. Valid values: 0 (disabled) or 1 (enabled)

1

SchemeIdList

array

Quality inspection scheme IDs

integer

Quality inspection scheme ID

13xxx

SchemeList

array<object>

Quality inspection schemes

object

Quality inspection scheme

SchemeId

integer

Quality inspection scheme ID

158

Name

string

Quality inspection scheme name

质检方案B

DataConfig

object

Data configuration

Index

integer

Index number

0

AssignConfigs

array<object>

Data screening items for on-the-fly recording

array<object>

Data screening items for on-the-fly recording

AssignConfigContests

array<object>

Parameter matching configurations for on-the-fly recording

object

Parameter matching configuration for on-the-fly recording

Name

string

Check item name

callStartTime

DataType

integer

Type of the value

  • 0: String

  • 1: Number

  • 2: List (use list type for all parameter values 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

Matching value for on-the-fly recording data

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

ListObject

array

List of on-the-fly recording data

any

List of on-the-fly recording data

xx

ResultParam

string

JSON text for filtering conditions used in secondary quality inspection. For details, see the request parameters of the GetResult API.

{}

DataSets

string

Dataset task. Manage datasets.

[]

AssignType

integer

Assignment type

0

ManualReview

integer

Manual review

0

AsrTaskPriority

integer

Task priority:

  • 0 (low)

  • 1 (medium)

  • 2 (high)

2

ModeCustomizationId

string

Language model ID

cdae396590b*****ec40f3476e274fc

ModelName

string

Language model name

自定义模型

Examples

Success response

JSON format

{
  "RequestId": "3CEA0495-341B-4482-9AD9-8191EF4***\t",
  "Code": "200",
  "Success": "true",
  "Message": "successful",
  "HttpStatusCode": "200",
  "Data": {
    "Id": 3,
    "SchemeTaskConfigId": 123,
    "Name": "test",
    "SourceDataType": "1",
    "Status": "1",
    "SchemeIdList": [
      0
    ],
    "SchemeList": [
      {
        "SchemeId": 158,
        "Name": "质检方案B"
      }
    ],
    "DataConfig": {
      "Index": 0,
      "AssignConfigs": [
        {
          "AssignConfigContests": [
            {
              "Name": "callStartTime",
              "DataType": 3,
              "Symbol": 4,
              "Value": "{\\\"start\\\":\\\"2022-09-01 00:00:00\\\",\\\"end\\\":\\\"2022-09-30 00:00:00\\\"}",
              "ListObject": [
                "xx"
              ]
            }
          ]
        }
      ],
      "ResultParam": "{}",
      "DataSets": "[]"
    },
    "AssignType": 0,
    "ManualReview": 0,
    "AsrTaskPriority": 2,
    "ModeCustomizationId": "cdae396590b*****ec40f3476e274fc",
    "ModelName": "自定义模型"
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.