ListSkillGroupConfig

Updated at:

You can call ListSkillGroupConfig to obtain the configuration list.

Note

This API has been deprecated with no replacement. While temporary access is maintained, no further updates or bug fixes will be provided. To ensure continued functionality, plan your migration and contact your account manager for support.

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

list

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

JsonStr

string

Yes

The complete JSON string. For details, see the following section.

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

BaseMeAgentId

integer

No

Workspace ID.

123456

Request parameter JSON string

PropertyTypeRequiredDescription
pageNumberIntegerYesThe page number of the data to return. Default is 1.
pageSizeIntegerYesThe number of entries per page. Must be greater than 0 and less than 100. Default is 10.
nameStringNoSearch by configuration name.

Response elements

Element

Type

Description

Example

object

Code

string

The result code. A value of 200 indicates success. Any other value indicates failure. Use this field to determine the cause of failure.

200

Data

object

SkillGroupConfig

array<object>

The list of configurations.

array<object>

AllContentQualityCheck

integer

Whether to perform full-text quality check after real-time quality check. Valid values: 1 (perform full-text quality check), 0 (do not perform full-text quality check).

1

AllRids

string

The rule ID used for full-text quality check.

223

AllRuleList

object

RuleNameInfo

array<object>

The detailed rules used for full-text quality check.

object

Rid

integer

The rule ID.

221

RuleName

string

The rule name.

test

CreateTime

string

The creation time.

2020-12-01T15:12Z

Id

integer

The configuration ID.

221

InstanceId

string

Internal field. Ignore.

弃用字段

ModelId

integer

The language model ID.

211

ModelName

string

The language model name.

通用模型

Name

string

The configuration name.

通用技能组

QualityCheckType

integer

The quality check type. Valid values: 0 (offline quality check), 1 (real-time quality check).

0

Rid

string

The quality check rule ID.

2221

RuleList

object

RuleNameInfo

array<object>

The list of rules.

object

Rid

integer

The rule ID.

2221

RuleName

string

The rule name.

x'x'x

ScreenSwitch

boolean

Specifies whether to enable recorded data matching.

true

SkillGroupFrom

integer

The source of the skill group. Fixed to 0.

0

SkillGroupId

string

The skill group ID.

123

SkillGroupName

string

The skill group name.

通用技能组

SkillGroupScreens

object

SkillGroupScreen

array<object>

Information about call recordings.

object

DataType

integer

The data type of the value. Valid values: 0 (String), 1 (Number), 2 (List). When using the = operator, always pass the value as a list.

0

Name

string

The screen recording data field name. Screen recording data refers to the parameters passed when uploading a quality check task. These correspond to the table headers on the quality check results list page. The actual values are in English. For example, agent name maps to customerName. For more available fields and their English names, see the request parameters in the corresponding quality check data upload API documentation.

customerName

Symbol

integer

The operator.

  • 1: =

  • 2: >

  • 3: <

1

Value

string

The value to match for the recorded data.

张三

Status

integer

The enabled status. Valid values: 0 (disabled), 1 (enabled).

1

Type

integer

The configuration type. Valid values: 1 (custom configuration), 0 (system built-in configuration).

1

UpdateTime

string

The update time.

2020-12-01T19:28Z

VocabId

integer

The hotword model ID.

323

VocabName

string

The hotword model name.

通用热词

Message

string

Details of the error if the request failed. If successful, the value is "successful".

successful

RequestId

string

The request ID.

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

Success

boolean

Indicates whether the request succeeded. A value of true means success. A value of false or null means failure.

true

Examples

Success response

JSON format

{
  "Code": "200",
  "Data": {
    "SkillGroupConfig": [
      {
        "AllContentQualityCheck": 1,
        "AllRids": "223",
        "AllRuleList": {
          "RuleNameInfo": [
            {
              "Rid": 221,
              "RuleName": "test"
            }
          ]
        },
        "CreateTime": "2020-12-01T15:12Z",
        "Id": 221,
        "InstanceId": "弃用字段",
        "ModelId": 211,
        "ModelName": "通用模型",
        "Name": "通用技能组",
        "QualityCheckType": 0,
        "Rid": "2221",
        "RuleList": {
          "RuleNameInfo": [
            {
              "Rid": 2221,
              "RuleName": "x'x'x"
            }
          ]
        },
        "ScreenSwitch": true,
        "SkillGroupFrom": 0,
        "SkillGroupId": "123",
        "SkillGroupName": "通用技能组",
        "SkillGroupScreens": {
          "SkillGroupScreen": [
            {
              "DataType": 0,
              "Name": "customerName",
              "Symbol": 1,
              "Value": "张三"
            }
          ]
        },
        "Status": 1,
        "Type": 1,
        "UpdateTime": "2020-12-01T19:28Z\t",
        "VocabId": 323,
        "VocabName": "通用热词"
      }
    ]
  },
  "Message": "successful",
  "RequestId": "3CEA0495-341B-4482-9AD9-8191EF4***\t",
  "Success": true
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.