SaveAnnotationMissionSessionList

Updated at:

You can save a list of annotation chat instances.

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

outboundbot:SaveAnnotationMissionSessionList

update

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

AnnotationMissionSessionListJsonString

string

No

The list of sessions in JSON format.

Note

This parameter has the same function as the AnnotationMissionSessionList parameter. You can specify either of them. The JSON field is a parameter of AnnotationMissionSessionList.

[{"jobGroupId":"4093e364-57dc-4a89-83e0-a88454642596","modifiedTime":1744971010000,"instanceId":"00b37342-e759-4fe5-b296-aef775933af0","version":0,"annotationMissionId":"3d4bfd93-0d16-4873-9d77-e4fb1771e5cf","createTime":1744971010000,"annotationMissionSessionId":"42032063-8ef2-48e1-bc99-587b51581742","scriptId":"bc50d543-6d52-4df8-8fb0-50f31ee9c1ff","sessionId":"641a2c43-5e2a-4535-8a4d-c66d4b4258d6","jobId":"fa54c5bb-d8a7-40ae-a32e-9a4a0c734ce5","annotationStatus":2,"debugConversation":false}]

UserNick

string

No

The user's nickname.

用户

AnnotationMissionSessionList

array<object>

No

The list of sessions.

Note

This parameter has the same function as AnnotationMissionSessionListJsonString. Specify either of them.

array<object>

No

A session.

AnnotationMissionSessionId

string

No

The session ID.

c88cc004-de69-4eee-aa5f-2efed533a54e

CreateTime

integer

No

The time when the session was created.

2023-04-14T02:01:23Z

ModifiedTime

integer

No

The time when the session was last modified.

1683858248778

AnnotationMissionId

string

No

The ID of the annotation task.

c88cc004-de69-4eee-aa5f-2efed533a54e

InstanceId

string

No

The instance ID.

77343553-cbc2-4487-a35c-869f1e86c573

ScriptId

string

No

The scenario ID.

e4f32632-2e56-4399-9fec-47bdbaeefdf6

JobGroupId

string

No

The task group ID.

29e669bd-a9d1-4529-98cd-c2b0549bcf53

JobId

string

No

The task ID.

593aaf5e-1275-4add-9990-22696385dc6e

SessionId

string

No

For an outbound call, this is the task ID. For navigation, this is the conversation ID.

e6271044-b4b2-4ad8-ade4-c720be023538

AnnotationStatus

integer

No

The annotation status.

  • 0: UNDO

  • 1: DOING

  • 2: DONE

  • 3: CLOSED

1

AnnotationMissionChatList

array<object>

No

The list of chats.

array<object>

No

The list of chats.

AnnotationMissionChatId

string

No

The chat ID.

ddce607f-f537-4ebd-9914-cf45671defb9

CreateTime

integer

No

The time when the chat was created.

1679629770336

ModifiedTime

integer

No

The time when the chat was last modified.

1629360780000

AnnotationMissionId

string

No

The ID of the annotation task.

ddce607f-f537-4ebd-9914-cf45671defb9

AnnotationMissionSessionId

string

No

The session ID.

c88cc004-de69-4eee-aa5f-2efed533a54e

InstanceId

string

No

The instance ID.

5ec263fa-c8de-46f4-b844-6fb8275bb645

SequenceId

string

No

The serial number of the current session interaction.

1475140522

OccurTime

integer

No

The time when the chat was triggered.

1682493047418

Answer

string

No

The content of the robot's response.

{'Answer': u'\u53c2\u8003\u6587\u6863\uff1ahttps://help.aliyun.com/document_detail/181325.html', 'QuestionId': 372858, 'Uuid': 'ac14000516762684770197536d0044'}

AnnotationStatus

integer

No

The annotation status.

  • 0: UNDO

  • 1: DOING

  • 2: DONE

  • 3: CLOSED

1

IntentAnnotationStatus

integer

No

The semantic tagging status.

  • 0: UNDO

  • 1: DOING

  • 2: DONE

  • 3: CLOSED

1

AsrAnnotationStatus

integer

No

The Automatic Speech Recognition (ASR) annotation status.

  • 0: UNDO

  • 1: DOING

  • 2: DONE

  • 3: CLOSED

1

TagAnnotationStatus

integer

No

The tag annotation status.

  • 0: UNDO

  • 1: DOING

  • 2: DONE

  • 3: CLOSED

1

SubStatus

integer

No

The annotation action. Valid values: 1: Correct. 20: Matching error (not optimized). 21: Matching error (optimized). 3: Not covered. 4: Invalid.

1

TranslationError

integer

No

The transcription error flag.

  • 0: No

  • 1: Yes

1

AnnotationAsrResult

string

No

The result of manual ASR annotation. This is used to calculate the character accuracy rate.

[]

OriginalAsrResult

string

No

The ASR result.

[]

AnnotationMissionChatIntentUserSayInfoList

array<object>

No

The list.

object

No

AnnotationMissionChatIntentUserSayInfoId

string

No

The ID.

ddce607f-f537-4ebd-9914-cf45671defb9

CreateTime

integer

No

The time when the item was created.

1683858248778

ModifiedTime

integer

No

The time when the item was last modified.

1683858248778

InstanceId

string

No

The instance ID.

ddce607f-f537-4ebd-9914-cf45671defb9

AnnotationMissionId

string

No

The ID of the annotation task.

ddce607f-f537-4ebd-9914-cf45671defb9

AnnotationMissionSessionId

string

No

The session ID.

ddce607f-f537-4ebd-9914-cf45671defb9

AnnotationMissionChatId

string

No

The chat ID.

ddce607f-f537-4ebd-9914-cf45671defb9

Content

string

No

The content.

[]

IntentId

integer

No

The intent ID.

119839

DialogId

integer

No

The dialog ID.

2991201

BotId

string

No

The bot ID.

ddce607f-f537-4ebd-9914-cf45671defb9

Delete

boolean

No

Delete this item.

false

Create

boolean

No

Create

false

AnnotationMissionChatVocabularyInfoList

array<object>

No

The hotword annotation information for the annotation task chat.

object

No

The hotword annotation information for the annotation task chat.

AnnotationMissionChatVocabularyInfoId

string

No

The ID.

77343553-cbc2-4487-a35c-869f1e86c573

CreateTime

integer

No

The time when the item was created.

1677552860720

ModifiedTime

integer

No

The time when the item was last modified.

1679283408230

InstanceId

string

No

The instance ID.

77343553-cbc2-4487-a35c-869f1e86c573

AnnotationMissionId

string

No

The ID of the annotation task.

977a45dc-b636-4407-9e98-9f572c709ada

AnnotationMissionSessionId

string

No

The session ID.

77343553-cbc2-4487-a35c-869f1e86c573

AnnotationMissionChatId

string

No

The chat ID.

77343553-cbc2-4487-a35c-869f1e86c573

VocabularyId

string

No

The hotword ID.

77343553-cbc2-4487-a35c-869f1e86c573

Vocabulary

string

No

The content of the hotword annotation.

[]

VocabularyName

string

No

The name of the processing scenario.

咨询

VocabularyDescription

string

No

The description.

售后咨询

VocabularyWeight

integer

No

The weight of the hotword. The value ranges from -6 to 5.

0

Delete

boolean

No

Delete

true

Create

boolean

No

Create

false

AnnotationMissionChatCustomizationDataInfoList

array<object>

No

The language model annotation information for the annotation task chat.

object

No

The language model annotation information for the annotation task chat.

AnnotationMissionChatCustomizationDataInfoId

string

No

The ID.

b598a47a-7c03-45fb-af6b-343950dd9512

CreateTime

integer

No

The time when the item was created.

1682316909210

ModifiedTime

integer

No

The time when the item was last modified.

1673438100000

InstanceId

string

No

The instance ID.

b598a47a-7c03-45fb-af6b-343950dd9512

AnnotationMissionId

string

No

The ID of the annotation task.

03f56192-fa8a-40dc-9558-39b357f0618f

AnnotationMissionSessionId

string

No

The session ID.

977a45dc-b636-4407-9e98-9f572c709ada

AnnotationMissionChatId

string

No

The chat ID.

977a45dc-b636-4407-9e98-9f572c709ada

CustomizationDataId

string

No

The ID.

977a45dc-b636-4407-9e98-9f572c709ada

Content

string

No

The content.

现在呢主动邀请到您,机会非常难得,而且额度放着不用,也是不收费的,可以当作咱们的备用金,最快5分钟就能到账,建议您可以先把额度免费领取下来呢。

CustomizationDataName

string

No

The name.

默认数据

CustomizationDataDescription

string

No

The description.

默认数据描述

CustomizationDataWeight

integer

No

The weight of the language model data.

1

Delete

boolean

No

Delete

true

Create

boolean

No

Create

true

AnnotationMissionChatTagInfoList

array<object>

No

The list of mappings between annotation information chats and attached tags.

object

No

The list of mappings between annotation information chats and attached tags.

AnnotationMissionChatTagInfoId

string

No

The ID.

id

CreateTime

integer

No

End time of the annotation mission group.

1679710866060

ModifiedTime

integer

No

Modified time

1679710866060

InstanceId

string

No

The instance ID.

32be9d94-1346-4c4a-a4d0-ccd379f87013

AnnotationMissionId

string

No

The task ID.

977a45dc-b636-4407-9e98-9f572c709ada

AnnotationMissionSessionId

string

No

The session ID.

977a45dc-b636-4407-9e98-9f572c709ada

AnnotationMissionChatId

string

No

The chat ID.

977a45dc-b636-4407-9e98-9f572c709ada

AnnotationMissionTagInfoId

string

No

The tag ID.

977a45dc-b636-4407-9e98-9f572c709ada

AnnotationMissionTagInfoName

string

No

The tag name.

-

Delete

boolean

No

Delete

false

Create

boolean

No

Create

true

Environment

integer

No

The environment.

  • 0: NONE

  • 1: Private cloud

  • 2: Public cloud

0

AnnotationMissionDataSourceType

integer

No

The source of the annotation data. Valid values: 1: Outbound call. 2: Navigation.

1

AgentId

string

No

The agent ID.

Note

Obtain this by calling the DescribeInstance operation.

1198938

AgentKey

string

No

The key of the workspace. If you do not specify this parameter, the default workspace is accessed. Obtain the key on the Business Management page of your Alibaba Cloud account.

Note

Obtain this by calling the DescribeInstance operation.

9137ab9c27044921860030adf8590ec4_p_outbound_public

Response elements

Element

Type

Description

Example

object

BaseResponse

Success

boolean

Indicates whether the call was successful. A value of true indicates success. A value of false indicates failure.

true

Code

string

The status code.

OK

Message

string

The returned message. If the request is successful, success is returned. If the request fails, an error code is returned.

执行失败:查找元素或操作超时,outTaskId:trademark_regnew_public_cn-zz4310rp1lb,flowId:null,nodeUUID:541b6c71-8cce-4ab0-af84-713ca9741821

Data

object

The returned data.

Success

boolean

Indicates whether the operation was successful.

true

Message

string

The message returned for the operation.

执行失败:查找元素或操作超时,outTaskId:trademark_regnew_public_cn-zz4310rp1lb,flowId:null,nodeUUID:541b6c71-8cce-4ab0-af84-713ca9741821

SaveAnnotationMissionSessionListRequest

object

The request result.

AnnotationMissionSessionListJsonString

string

The content of the script for the approval requests

[]

MessageList

array

The list of messages.

string

The list of messages.

[]

HttpStatusCode

integer

The HTTP status code.

200

RequestId

string

The request ID.

76E93048-F90F-57B7-BD46-6097611A706D

Examples

Success response

JSON format

{
  "Success": true,
  "Code": "OK",
  "Message": "执行失败:查找元素或操作超时,outTaskId:trademark_regnew_public_cn-zz4310rp1lb,flowId:null,nodeUUID:541b6c71-8cce-4ab0-af84-713ca9741821",
  "Data": {
    "Success": true,
    "Message": "执行失败:查找元素或操作超时,outTaskId:trademark_regnew_public_cn-zz4310rp1lb,flowId:null,nodeUUID:541b6c71-8cce-4ab0-af84-713ca9741821",
    "SaveAnnotationMissionSessionListRequest": {
      "AnnotationMissionSessionListJsonString": "[]"
    },
    "MessageList": [
      "[]"
    ]
  },
  "HttpStatusCode": 200,
  "RequestId": "76E93048-F90F-57B7-BD46-6097611A706D"
}

Error codes

HTTP status code

Error code

Error message

Description

500 InternalError An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.