ListSessionGroup

Updated at:

This API corresponds to the frontend location: Task Management > View Results > Task Result > Session Group Results tab. The Apsara Stack URL is: ip:port/api/session/group/ListSessionGroup.json. It aggregates multi-turn sessions by their session group ID for unified management. You must pass the `sessionGroupId` field. For more information, see the UploadData and UploadAudioData API documentation.

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

list

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

jsonStr

string

No

For more information, see the notes on request parameters.

{"isSchemeData":1,"pageNumber":1,"pageSize":10,"callStartTime":"2022-09-17 00:00:00","callEndTime":"2022-09-23 23:59:59","schemeTaskConfigId":368}

BaseMeAgentId

integer

No

The workspace ID.

123456

JsonStr description

PropertyValue typeRequiredDescription
pageNumberIntegerNoThe current page number.
pageSizeIntegerNoThe number of entries per page.
callStartTimeStringYesThe start time of the time range to query.
callEndTimeStringYesThe end time of the time range to query.
schemeTaskConfigIdLongYesThe ID of the quality inspection task.

Response elements

Element

Type

Description

Example

object

ListResult<sessiongroupsummary>

Data

object

Data

array<object>

The detailed data.

array<object>

SessionGroupSummary

SessionGroupId

string

The session group ID.

SessionGroupA

SchemeTaskConfigId

integer

The ID of the quality inspection task.

123

SchemeTaskConfigName

string

The name of the quality inspection task.

质检任务A

CustomerServiceIdList

object

CustomerServiceIdList

array

List of customer service IDs.

string

Customer ID.

15

CustomerServiceNameList

object

CustomerServiceNameList

array

The list of customer service representative names.

string

Customer name.

客服人员A

CustomerIdList

object

CustomerIdList

array

The list of customer IDs.

string

A customer ID.

13

CustomerNameList

object

CustomerNameList

array

The list of customer names.

string

A customer name.

客户人员A

CallerList

object

CallerList

array

The list of caller numbers.

string

A caller number.

05712****989

SkillGroupNameList

object

SkillGroupNameList

array

The list of skill group names.

string

A skill group name.

技能组A

Score

integer

The quality inspection score. The maximum value is 100.

100

SessionCount

integer

The number of sessions.

1

HitSessionCount

integer

The number of sessions that match the review filter criteria.

1

CallStartTime

string

The earliest start time of a session.

2022-09-26 10:09:14

ReviewStatus

integer

The review status. Valid values: 0 (not reviewed) and 1 (reviewed).

1

AssignStatus

integer

The assignment status. Valid values: 0 (not assigned) and 1 (assigned).

1

ReviewerList

object

ReviewerList

array

The list of reviewers.

string

The name of the reviewer.

复核人员A

SessionGroupReviewedOrComplained

boolean

Specifies whether the session group is under review or appeal.

true

LastDataId

string

The data marker. To retrieve more than 10,000 records, include the LastDataId from the previous response in the next request.

4498420@a_z@93EAADF1-01D3-44BD-8AC9-F57F447EFCE8_1614*****

Count

integer

The total number of entries.

2228

CurrentPage

integer

The number of the returned page. The default value is 1.

1

PageSize

integer

The number of entries to return on each page.

10

PageNumber

integer

The number of the current page.

1

ResultCountId

string

A reserved parameter. You can ignore this parameter.

忽略

LastDataId

string

The data marker. To retrieve more than 10,000 records, include the LastDataId from the previous response in the next request.

1000

RequestId

string

The ID of the request.

F190ADE9-619A-447D-84E3-7E241A5C428E

Success

boolean

Indicates whether the request was successful. A value of `true` indicates that the request was successful. A value of `false` or `null` indicates that the request failed.

true

Code

string

The result code. A value of `200` indicates that the request was successful. Other values indicate that the request failed.

200

Message

string

The error details if the request fails. `successful` is returned if the request is successful.

successful

Messages

object

Message

array

The error details when multiple messages are returned.

string

The error details when multiple messages are returned.

无

HttpStatusCode

integer

The HTTP status code.

200

Examples

Success response

JSON format

{
  "Data": {
    "Data": [
      {
        "SessionGroupId": "SessionGroupA",
        "SchemeTaskConfigId": 123,
        "SchemeTaskConfigName": "质检任务A",
        "CustomerServiceIdList": {
          "CustomerServiceIdList": [
            "15"
          ]
        },
        "CustomerServiceNameList": {
          "CustomerServiceNameList": [
            "客服人员A"
          ]
        },
        "CustomerIdList": {
          "CustomerIdList": [
            "13"
          ]
        },
        "CustomerNameList": {
          "CustomerNameList": [
            "客户人员A"
          ]
        },
        "CallerList": {
          "CallerList": [
            "05712****989"
          ]
        },
        "SkillGroupNameList": {
          "SkillGroupNameList": [
            "技能组A"
          ]
        },
        "Score": 100,
        "SessionCount": 1,
        "HitSessionCount": 1,
        "CallStartTime": "2022-09-26 10:09:14",
        "ReviewStatus": 1,
        "AssignStatus": 1,
        "ReviewerList": {
          "ReviewerList": [
            "复核人员A"
          ]
        },
        "SessionGroupReviewedOrComplained": true,
        "LastDataId": "4498420@a_z@93EAADF1-01D3-44BD-8AC9-F57F447EFCE8_1614*****"
      }
    ]
  },
  "Count": 2228,
  "CurrentPage": 1,
  "PageSize": 10,
  "PageNumber": 1,
  "ResultCountId": "忽略",
  "LastDataId": "1000",
  "RequestId": "F190ADE9-619A-447D-84E3-7E241A5C428E",
  "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.