GetResult
Queries quality check results. Some results are returned only when explicitly specified by the requiredFields request parameter. Set the region to China (Hangzhou) (cn-hangzhou).
Operation description
Queries data uploaded by calling UploadAudioData or UploadData, and data of dataset quality check tasks submitted by calling SubmitQualityCheckTask. You can query data by task ID or time range. By default, the response includes only a subset of parameters. You can use the requiredFields request parameter to specify the fields to return.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sca:GetResult |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JsonStr |
string |
Yes |
The complete JSON string. For more information, see the following details. |
{"pageNumber":1,"pageSize":10,"excludeFields":"hitResult.hits, recording.url","requiredFields":"agent,status,errorMessage,reviewStatus,reviewResult,score,taskId,reviewer,resolver,recording.name,recording.duration,hitResult,business","dataType":1,"sourceType":0,"startTime":"2020-06-25 00:00:00","endTime":"2020-07-01 23:59:59"} |
| BaseMeAgentId |
integer |
No |
The workspace ID. |
12345 |
Request parameter JSON string details
| Property | Type | Required | Description |
| isSchemeData | Integer | No | Specifies whether to upload data to the new version of Intelligent Dialogue Analysis. Valid values: 0 (no) and 1 (yes). Default value: 0. |
| pageSize | Integer | No | The number of entries to return on each page. Valid values: 1 to 99. Default value: 10. |
| pageNumber | Integer | No | The page number to return. Default value: 1. If you query more than 10,000 entries, you cannot skip pages. You can only turn to the next page and must specify the lastDataId parameter. For example, if the current page size is 100 and you are on page 101, you can only query page 102 next, and cannot directly query page 103. |
| requiredFields | String | No | The fields to include in the response. Separate multiple fields with commas. Select fields as needed. Valid values include taskId (node ID), score (score), status (status), recording (file information), recording.dataSet (dataset name), asrResult (transcription result), hitResult (quality check result), comments (review comments), and agent (agent information). Default value: score,status,taskId,hitResult. |
| excludeFields | String | No | The fields to exclude from the response. Typically, these are sub-fields. Separate multiple fields with commas. Valid value: hitResult.hits. |
| taskId | String | No | The node ID returned after you upload the data to be checked. |
| startTime | String | No | The start time of the query range based on the node upload time. The node upload time is the API call time. Format: yyyy-MM-dd HH:mm:ss. |
| endTime | String | No | The end time of the query range based on the node upload time. The node upload time is the API call time. Format: yyyy-MM-dd HH:mm:ss. |
| callStartTime | String | No | The start time of the query range based on the recording time. The recording time is specified in the API request when you upload data. Format: yyyy-MM-dd HH:mm:ss. |
| callEndTime | String | No | The end time of the query range based on the recording time. The recording time is specified in the API request when you upload data. Format: yyyy-MM-dd HH:mm:ss. |
| assignmentStartTime | String | No | The start time of the query range based on the allocation time. The allocation time is the time when the quality inspector was last allocated. Format: yyyy-MM-dd HH:mm:ss. |
| assignmentEndTime | String | No | The end time of the query range based on the allocation time. The allocation time is the time when the quality inspector was last allocated. Format: yyyy-MM-dd HH:mm:ss. |
| reviewStartTime | String | No | The start time of the query range based on the review time. The review time is the time when the last review was saved. Format: yyyy-MM-dd HH:mm:ss. |
| reviewEndTime | String | No | The end time of the query range based on the review time. The review time is the time when the last review was saved. Format: yyyy-MM-dd HH:mm:ss. |
| datasetId | Long | No | The dataset ID. If sourceType is set to 3, you can specify the dataset from which the file originates. |
| sourceType | Integer | No | The source of the file. Valid values: 0 (call center, which means API upload) and 3 (dataset). |
| dataType | Integer | No | The file type. Valid values: 0 (text) and 1 (audio). |
| sourceDataType | Integer | No | The quality check result type. Valid values: 1 (offline speech quality check), 2 (offline text quality check), 3 (real-time speech quality check), 4 (real-time text quality check), 5 (secondary quality check for call center), 51 (secondary speech quality check for call center), 52 (secondary text quality check for call center), 11 (dataset speech), and 12 (dataset text). This parameter applies only to the new version of Intelligent Dialogue Analysis. |
| customerName | String | No | The name of the customer. This parameter applies only to the new version of Intelligent Dialogue Analysis. |
| customerId | String | No | The ID of the customer. This parameter applies only to the new version of Intelligent Dialogue Analysis. |
| sessionGroupId | String | No | The ID of the session group. This parameter applies only to the new version of Intelligent Dialogue Analysis. |
| sessionGroupExists | Boolean | No | Specifies whether the session belongs to a session group. This parameter applies only to the new version of Intelligent Dialogue Analysis. |
| customerServiceName | String | No | The name of the customer service representative. Only the results of this representative are returned. |
| customerServiceId | String | No | The ID of the customer service representative. Only the results of this representative are returned. |
| skillGroupName | String | No | The name of the skill group. |
| caller | String | No | The caller number. |
| callee | String | No | The callee number. |
| callId | String | No | The call ID. |
| fileName | String | No | The full name of the file. Fuzzy search is not supported. |
| ruleIds | List | No | The IDs of the hit quality check rules. The response includes results that hit one or more of these rules. |
| schemeIdList | List | No | The IDs of the quality check schemes used by the node for search. This parameter applies only to the new version of Intelligent Dialogue Analysis. |
| schemeTaskConfigId | Integer | No | The ID of the quality check node. This parameter applies only to the new version of Intelligent Dialogue Analysis. |
| resolver | String | No | The account ID of the reviewer. Only the results reviewed by this reviewer are returned. |
| reviewer | String | No | The account ID of the allocated quality inspector. Only the results allocated to this inspector are returned. |
| status | Integer | No | The execution status. Valid values: 0 (running), 1 (completed), and 6 (failed). |
| hitStatus | Integer | No | The hit status. Valid values: 0 (no rules hit) and 1 (rules hit). |
| reviewStatus | Integer | No | The review status. Valid values: 0 (not reviewed), 1 (reviewed), 3 (appealing), 4 (appeal approved), and 5 (appeal rejected). |
| complainStatus | Integer | No | The appeal status. Valid values: 0 (not appealed) and 1 (appealed). |
| scoreType | Integer | No | Used together with totalScore to filter records by quality check score. Valid values: 1 (returns records with a score equal to totalScore), 3 (returns records with a score greater than totalScore), and 5 (returns records with a score less than totalScore). |
| totalScore | Integer | No | Used together with scoreType to filter records by quality check score. This parameter specifies the score value. |
| duration | Integer | No | The call duration, in seconds. This parameter must be used together with durationType and endDuration. |
| durationType | Integer | No | The range type for the call duration query. Valid values: 1 (equal to), 3 (greater than), 5 (less than), and 7 (range). |
| endDuration | Integer | No | The end value of the call duration range for the query. In this case, duration specifies the start value of the range. |
| dialogueSize | Integer | No | The number of dialogue turns. This parameter must be used together with dialogueSizeType and endDialogueSize. |
| dialogueSizeType | Integer | No | The range type for the dialogue turns query. Valid values: 1 (equal to), 3 (greater than), 5 (less than), and 7 (range). |
| endDialogueSize | Integer | No | The end value of the dialogue turns range for the query. In this case, dialogueSize specifies the start value of the range. |
| lastDataId | String | No | The lastDataId value of the last entry in the previous query result. If you use GetResult to query more than 10,000 entries, you must include the lastDataId value of the last entry from the previous query result in each request. |
| fileId | String | No | The ID of the corresponding call or ticket data. The response includes only the data for this fileId. |
| sortField | String | No | The field by which to sort the results. Currently, only the quality check score and custom data 1, 2, 3, 4, and 5 support sorting. Valid values: score, remark1, remark2, remark3, remark4, and remark5. |
| sortType | String | No | The collation. Valid values: desc (descending order) and asc (ascending order). |
| remark1 | String | No | Custom data 1. |
| remark2 | String | No | Custom data 2. |
| remark3 | String | No | Custom data 3. |
| remark4 | String | No | Custom data 4. |
| remark5 | Long | No | Custom data 5. This field supports exact match and range queries. For range queries, this parameter must be used together with remark5Type and endRemark5. |
| remark5Type | Integer | No | The range type for the custom data 5 query. Valid values: 3 (greater than), 5 (less than), and 7 (range). Default value: equal to (exact match). |
| endRemark5 | Long | No | The end value of the custom data 5 range for the query. In this case, remark5 specifies the start value of the range. |
| remark6 | String | No | Custom data 6. |
| remark7 | String | No | Custom data 7. |
| remark8 | String | No | Custom data 8. |
| remark9 | String | No | Custom data 9. |
| remark10 | String | No | Custom data 10. |
| remark11 | String | No | Custom data 11. |
| remark12 | String | No | Custom data 12. |
| remark13 | Long | No | Custom data 13. This field supports exact match and range queries. For range queries, this parameter must be used together with remark13Type and endRemark13. |
| remark13Type | Integer | No | The range type for the custom data 13 query. Valid values: 3 (greater than), 5 (less than), and 7 (range). Default value: equal to (exact match). |
| endRemark13 | Long | No | The end value of the custom data 13 range for the query. In this case, remark13 specifies the start value of the range. |
| remark14 | Long | No | Custom data 14. This field supports exact match and range queries. For range queries, this parameter must be used together with remark14Type and endRemark14. |
| remark14Type | Integer | No | The range type for the custom data 14 query. Valid values: 3 (greater than), 5 (less than), and 7 (range). Default value: equal to (exact match). |
| endRemark14 | Long | No | The end value of the custom data 14 range for the query. In this case, remark14 specifies the start value of the range. |
| remark15 | String | No | Custom data 15. |
| remark16 | String | No | Custom data 16. |
| remark17 | String | No | Custom data 17. |
| remark18 | String | No | Custom data 18. |
| remark19 | String | No | Custom data 19. |
| remark20 | String | No | Custom data 20. |
| remark21 | String | No | Custom data 21. |
| remark22 | String | No | Custom data 22. |
| remark23 | String | No | Custom data 23. |
| remark24 | String | No | Custom data 24. |
| remark25 | String | No | Custom data 25. |
| remark1List~remark25List | List | No | The batch query for custom data 1 to 25. For example, if you set remark1List to [1,2,3], the system searches for records where custom data 1 is equal to 1, 2, or 3. |
Sample request parameters
{
"excludeFields": "recording.url,finalHitRuleIds,hitResult.lambda,hitResult.schemeId,hitResult.schemeVersion,hitResult.targetType,hitResult.hits,hitResult.level,hitResult.taskFlowId",
"requiredFields": "agent,status,errorMessage,reviewStatus,reviewResult,score,taskId,reviewer,resolver,recording.name,recording.duration,hitResult,business,assignmentTime,recording.jsonParamStr",
"schemeTaskConfigId": 4878,
"pageNumber": 1,
"pageSize": 10,
"startTime": "2024-12-22 00:00:00",
"endTime": "2025-01-20 17:27:19",
"sourceDataTypeList": [
1
]
}
Sample request code
import com.alibaba.fastjson.JSONObject;
import com.aliyun.qualitycheck20190115.Client;
import com.aliyun.qualitycheck20190115.models.*;
import com.aliyun.teaopenapi.models.Config;
public class sca {
private static String ak = "YOUR_ACCESS_KEY_ID";
private static String sk = "YOUR_ACCESS_KEY_SECRET";
private static void getResult() throws Exception {
Config config = new Config();
config.setAccessKeyId(ak).setAccessKeySecret(sk)
.setEndpoint("qualitycheck.cn-hangzhou.aliyuncs.com")
.setRegionId("cn-hangzhou").setProtocol("HTTPS");
Client client = new Client(config);
String json = "{\"excludeFields\":\"recording.url,finalHitRuleIds,hitResult.lambda,hitResult.schemeId,hitResult.schemeVersion,hitResult.targetType,hitResult.hits,hitResult.level,hitResult.taskFlowId\",\"requiredFields\":\"agent,status,errorMessage,reviewStatus,reviewResult,score,taskId,reviewer,resolver,recording.name,recording.duration,hitResult,business,assignmentTime,recording.jsonParamStr\",\"schemeTaskConfigId\":4878,\"pageNumber\":1,\"pageSize\":10,\"startTime\":\"2024-12-22 00:00:00\",\"endTime\":\"2025-01-20 17:27:19\",\"sourceDataTypeList\":[1]}";
GetResultRequest request = new GetResultRequest();
request.setJsonStr(json);
GetResultResponse response = client.getResult(request);
System.out.println(JSONObject.toJSONString(response));
}
public static void main(String[] args) throws Exception {
getResult();
}
}
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
3CEA0495-341B-4482-9AD9-8191EF4*** |
| Success |
boolean |
Indicates whether the request is successful. Valid values:
|
true |
| ResultCountId |
string |
The reserved field. This field is currently unused and can be ignored. |
XXX |
| Code |
string |
The result code. A value of 200 indicates success, and any other value indicates failure. You can use this field to determine the cause of the failure. |
200 |
| Message |
string |
The error message. If an error occurs, this field displays the error details. If the request is successful, the value is successful. |
successful |
| PageNumber |
integer |
The current page number. |
1 |
| PageSize |
integer |
The number of entries per page. |
10 |
| Count |
integer |
The total number of entries. |
1 |
| Data |
object |
||
| ResultInfo |
array<object> |
The query results. |
|
|
array<object> |
|||
| Status |
integer |
The current status of the task. You can use this field to determine whether the task is complete. Valid values:
|
0 |
| AssignmentTime |
string |
The assignment time, which is the time when the quality inspector is assigned. |
2021-03-02T14:37Z |
| LastDataId |
string |
The identifier of the current data entry. When you use GetResult to query more than 10,000 data entries, you must include the lastDataId value of the last data entry from the previous query result in the request parameters of each subsequent request. |
4498420@a_z@93EAADF1-01D3-44BD-8AC9-F57F447EFCE8_1614***** |
| ErrorMessage |
string |
The error details when the status is not 0 or 1. |
xxx |
| Reviewer |
string |
The assigned quality inspector. |
xxx |
| CreateTime |
string |
The time when the task was created. |
2019-07-24T19:31Z |
| ReviewStatus |
integer |
The review status. Valid values:
|
1 |
| ReviewTimeLong |
string |
The time when the last review was submitted, in timestamp format. |
1602743090 |
| TaskName |
string |
The task name. |
test |
| ReviewResult |
integer |
The review accuracy. Valid values:
|
0 |
| Score |
integer |
The final score of the file. The full score is 100. |
100 |
| CreateTimeLong |
string |
The time when the task was created, in timestamp format. |
1602743090 |
| ReviewTime |
string |
The time when the last review was submitted. |
2019-07-24T19:31Z |
| Comments |
string |
The review comments. |
xx |
| TaskId |
string |
The task ID. |
A6BEC8D-9A5B-4BE5-8432-4F635E*** |
| ReviewType |
integer |
The review type. Valid values:
|
1 |
| Resolver |
string |
The quality inspector who actually performed the review. |
XXX |
| AsrResult |
object |
||
| AsrResult |
array<object> |
The file transcription results. |
|
|
object |
|||
| Words |
string |
The conversation content. |
xx |
| Begin |
integer |
The start time of the sentence relative to the entire conversation, in milliseconds. |
10000 |
| EmotionValue |
integer |
The emotion value of the sentence. Valid values: 0 to 10. A larger value indicates a stronger emotion. |
1 |
| End |
integer |
The end time of the sentence relative to the entire conversation, in milliseconds. |
0 |
| SpeechRate |
integer |
The speech rate of the sentence, in words per minute. |
50 |
| Role |
string |
The role of the speaker for the sentence. Valid values: customer service representative and customer. |
Customer |
| Identity |
string |
The specific identity identifier of the conversation role. |
OPERATOR_001 |
| HitResult |
object |
||
| HitResult |
array<object> |
The rule hit results. |
|
|
array<object> |
|||
| Type |
string |
The categorization of rule hits. Important requiredFields must include hitResult.type |
0417 regression type |
| ReviewResult |
integer |
The review accuracy. Valid values:
|
0 |
| Name |
string |
The name of the hit rule. |
20190417 regression 3 |
| Rid |
string |
The ID of the hit rule. |
1276 |
| Hits |
object |
||
| Hit |
array<object> |
The rule hits. |
|
|
array<object> |
|||
| KeyWords |
object |
||
| KeyWord |
array<object> |
The hit keywords, which applies to keyword and regular expression operators. |
|
|
object |
|||
| From |
integer |
The start position of the keyword. |
1 |
| To |
integer |
The end position of the keyword. |
2 |
| Val |
string |
The key information hit by the operator. For more information, see Key information Val details in the response parameter description below. |
test |
| Cid |
string |
The ID of the hit condition. |
xxxx |
| Cid |
object |
||
| Cid |
array |
The list of IDs of the hit conditions. |
|
|
string |
The ID of the hit condition. |
xxxx |
|
| Phrase |
object |
The information about the hit sentence. |
|
| EmotionValue |
integer |
The emotion value of the sentence. Valid values: 0 to 10. A larger value indicates a stronger emotion. |
0 |
| End |
integer |
The end time of the sentence relative to the entire conversation, in milliseconds. |
300 |
| Words |
string |
The conversation content. |
xxx |
| Role |
string |
The role of the speaker for the sentence. Valid values: customer service representative and customer. |
Customer service representative |
| Begin |
integer |
The start time of the sentence relative to the entire conversation, in milliseconds. |
300 |
| SchemeId |
integer |
The ID of the quality inspection plan. |
123xx |
| SchemeVersion |
integer |
The version of the quality inspection plan. |
11xx |
| Conditions |
object |
||
| Conditions |
array<object> |
The logical relationship of operators in the condition. |
|
|
array<object> |
|||
| Cid |
string |
The condition ID, which may be the primary key in the database or a converted letter such as a, b, or c. |
a |
| Id |
integer |
The primary key in the database. |
1 |
| Rid |
string |
The ID of the rule to which the condition belongs. |
1 |
| Check_range |
object |
The detection scope. |
|
| RoleId |
integer |
The corresponding RoleType.id. |
1 |
| Role |
string |
The corresponding RoleType.type. |
Customer service representative |
| Anchor |
object |
The prerequisite and post-condition. |
|
| Cid |
string |
The condition ID. |
1 |
| Location |
string |
The location. |
BEFORE |
| Hit_time |
integer |
The number of hits. |
1 |
| Range |
object |
The relative range. |
|
| From |
integer |
The start index of the conversation. |
2 |
| To |
integer |
The end index of the conversation. |
4 |
| TimeRange |
object |
The time range. |
|
| From |
integer |
The start time. |
1733277928 |
| To |
integer |
The end time. |
1733277928 |
| Absolute |
boolean |
A value of false indicates a relative position, which combines the anchor and role to determine the sentence position. |
false |
| AllSentencesSatisfy |
boolean |
A value of true indicates that every sentence must meet the condition. |
true |
| Operators |
object |
||
| Operator |
array<object> |
The list of operators. |
|
|
array<object> |
|||
| Oid |
string |
The primary key ID or the ID generated by the frontend. |
1 |
| Id |
integer |
The primary key ID. |
1 |
| Type |
string |
The category of the operator. |
ABUSE_MODEL |
| Param |
object |
The parameters of the operator. |
|
| Keywords |
object |
||
| Keyword |
array |
The keywords. |
|
|
string |
The keywords. |
Hello |
|
| Regex |
string |
The regular expression. |
a&&b |
| NotRegex |
string |
The excluded regular expression. |
c&&d |
| Phrase |
string |
The phrase. |
Hello |
| Interval |
integer |
The start of the interval range. |
1733277928 |
| IntervalEnd |
integer |
The end of the interval range. |
1733277928 |
| Threshold |
number |
The threshold. |
1 |
| In_sentence |
boolean |
Specifies the effective sentence scope. Valid values: true: a single sentence. false: multiple sentences. |
true |
| Target |
integer |
target |
0 |
| From_end |
boolean |
from_end |
1 |
| KeywordExtension |
integer |
The keyword extension. |
Hello |
| Case_sensitive |
boolean |
Specifies whether the match is case-sensitive. |
false |
| Near_dialogue |
boolean |
Specifies whether to select adjacent dialogues. Valid values: true: selects two adjacent sentences from different roles. false: selects the first sentence from different roles to compare the response time. Default value: false. |
false |
| MinWordSize |
integer |
The minimum number of words in a sentence. Sentences with fewer words than this value are not checked. |
2 |
| Hit_time |
integer |
The number of repetitions for the context repetition operator. |
2 |
| Excludes |
object |
||
| Exclude |
array |
The dialogues excluded from the context repetition operator. |
|
|
string |
The dialogues excluded from the context repetition operator. |
Hello |
|
| From |
integer |
The number of preceding sentences to check for repetition in the context repetition operator. A value of 0 indicates all preceding sentences. |
0 |
| CheckFirstSentence |
boolean |
Specifies whether to check the first sentence for silence detection. |
false |
| Average |
boolean |
Specifies whether to calculate the average speech rate for the entire conversation in speech rate detection. Default value: false. |
false |
| BeginType |
string |
The start type for duration calculation in the duration operator. Specifies whether the calculation starts from the beginning of the recording or a specific dialogue sentence. |
0 |
| EndType |
string |
The end type for duration calculation in the duration operator. Specifies whether the calculation ends at the end of the recording or a specific dialogue sentence. |
0 |
| CompareOperator |
string |
The comparison operator. Valid values: gt: greater than. lt: less than. |
gt |
| ContextChatMatch |
boolean |
Specifies whether to match a single sentence. |
true |
| KeywordMatchSize |
integer |
The number of matched keywords. |
1 |
| MaxEmotionChangeValue |
integer |
The maximum change in emotion energy value. Valid values: 1 to 9. Default value: 3. |
2 |
| CheckType |
integer |
The detection method. Valid values: 1: energy fluctuation between adjacent sentences. 2: maximum energy span. Default value: 1. |
1 |
| DelayTime |
integer |
The delay duration for the interruption operator. |
1000 |
| FlowNodePrerequisiteParam |
object |
The flow node prerequisite parameter. |
|
| NodeId |
integer |
The node ID. |
1 |
| NodeName |
string |
The redundant node name. |
Start node |
| NodeMatchStatus |
integer |
The node match status. |
1 |
| IntentModelCheckParm |
object |
The intent model check parameter. |
|
| ModelScene |
string |
The scenario in which the model is applied. Valid values: AGENT (customer scenario) and CUSTOMER (customer service scenario). |
AGENT |
| Intents |
object |
||
| Intent |
array<object> |
The referenced intent model. |
|
|
object |
|||
| Id |
integer |
The intent model ID. |
cn-north-2-gov-1 |
| Name |
string |
The intent model name. |
fvt-eci-copy-5c703091 |
| Name |
string |
The operator name. |
Keyword detection |
| Lambda |
string |
The Lambda expression, such as |
a&&b |
| Exclusion |
integer |
The exclusion. |
c&&d |
| Score |
integer |
The score. A positive value indicates an added score, and a negative value indicates a deducted score. |
-5 |
| MachineHitResult |
string |
The automated inspection hit result. |
1 |
| FinalHitResult |
string |
The final hit result. |
1 |
| ArtificialRule |
string |
Specifies whether the rule is a manual rule. |
turn |
| HitScore |
object |
||
| HitScore |
array<object> |
The scoring item information hit by the current file, including the scoring items associated with the rule hits and the manually added scoring items. |
|
|
object |
|||
| ScoreName |
string |
The name of the scoring item. |
Complaint |
| ScoreNumber |
string |
The score of the scoring item. A positive value indicates an added score, and a negative value indicates a deducted score. |
-20 |
| ScoreId |
string |
The scoring item ID. |
123456 |
| RuleId |
string |
The rule ID of the rule hits. If this parameter exists, it indicates that the scoring item is associated with a rule. If this parameter does not exist, it indicates that the scoring item is manually added. |
123 |
| Recording |
object |
The recording file information. |
|
| Remark13 |
string |
Custom data 13. |
XXX |
| Callee |
string |
The called number. |
1888888**** |
| DialogueSize |
integer |
The number of dialogue turns. |
32 |
| PrimaryId |
string |
The recording file ID. |
3437500 |
| Remark12 |
string |
Custom data 12. |
XXX |
| Remark1 |
string |
Custom data 1. |
XXX |
| Remark7 |
string |
Custom data 7. |
XXX |
| Remark8 |
string |
Custom data 8. |
XXX |
| Remark2 |
string |
Custom data 2. |
XXX |
| CallId |
string |
The call ID. |
XXXX |
| Remark9 |
string |
Custom data 9. |
XXX |
| Name |
string |
The recording file name. |
123456.mkv |
| Remark6 |
string |
Custom data 6. |
XXX |
| Remark10 |
string |
Custom data 10. |
XXX |
| Business |
string |
The business line name, which is used for classification and statistics. |
Customer service business line |
| Remark3 |
string |
Custom data 3. |
XXX |
| Url |
string |
The file URL. |
http://aliyun.com/audio.wav |
| Remark11 |
string |
Custom data 11. |
XXX |
| Remark4 |
string |
Custom data 4. |
XXX |
| CallType |
integer |
The call type. Valid values: 1 (outbound call) and 3 (inbound call). |
1 |
| Caller |
string |
The calling number. |
0108888**** |
| DataSetName |
string |
The dataset to which the file belongs. This parameter has a value only when the file is uploaded as a dataset. |
XXXX |
| Duration |
integer |
The call duration, in seconds. |
60 |
| Remark5 |
integer |
Custom data 5. |
1232 |
| Id |
string |
The file ID, which is the callId in the request parameters. If not specified, a random ID is generated. |
6fa76916-3ce6-45d8-ac64-01b7f31*** |
| CallTime |
string |
The timestamp when the recording is generated, accurate to milliseconds. |
1563967699000 |
| TaskConfigId |
integer |
The task ID. |
123 |
| TaskConfigName |
string |
The task name. |
Task A |
| CustomerName |
string |
The customer name. |
Zhang San |
| Agent |
object |
The agent information. |
|
| Name |
string |
The agent name. |
Intelligent conversation analysis agent |
| SkillGroup |
string |
The skill group name. |
Quality inspection skill |
| Id |
string |
The agent ID. |
28240****15643 |
| SchemeIdList |
object |
||
| SchemeIdList |
array |
The list of quality inspection plan IDs. |
|
|
integer |
The ID of the quality inspection plan. |
13xxx |
|
| SchemeNameList |
object |
||
| SchemeNameList |
array |
The list of quality inspection scheme names. |
|
|
string |
The quality inspection scheme name. |
General pre-sales scheme |
|
| ReviewHistoryList |
object |
||
| ReviewHistory |
array<object> |
The review history. |
|
|
array<object> |
The review history. |
||
| Type |
integer |
The review type. Valid values: 0: automatic review; 1: manual review. |
1 |
| OperatorName |
string |
The username of the reviewer. |
Zhang San |
| TimeStr |
string |
The review time in the yyyy-mm-dd hh:mm:ss format. |
2019-10-28 15:21:00 |
| Score |
integer |
The score after the review. |
95 |
| ReviewResult |
integer |
The review result. Valid values: 1: all check items are correct; 0: at least one check item is incorrect. |
1 |
| ComplainResult |
integer |
The appeal processing result. Valid values: 1: all appeals are approved; 0: at least one appeal is rejected. |
1 |
| OldScore |
integer |
The score before the review. |
90 |
| ReviewManagerType |
string |
The details of the review type. |
[One category][Two categories: First category, First category->Next level] |
| Time |
integer |
The timestamp used for display. |
1722396376000 |
| Comments |
string |
The comments. |
Auto insurance claim outbound call 16 |
| ReviewRightRule |
object |
||
| ReviewRightRule |
array<object> |
The correct rules in the review. |
|
|
object |
|||
| ruleName |
string |
The rule name. |
Greeting rule |
| rid |
integer |
The rule ID. |
21 |
| Operator |
integer |
The operator ID. |
83197 |
| ReviewTypeIdList |
object |
||
| ReviewTypeIdList |
array<object> |
The list of review types. |
|
|
array<object> |
|||
| ReviewKeyIdList |
object |
||
| ReviewKeyIdList |
array |
The list of review tag IDs. |
[4,5] |
|
integer |
The review tag. |
[4, 5] |
|
| ReviewTypeId |
integer |
The review category ID. |
1 |
| Vid |
string |
The file ID. |
6fa76916-3ce6-45d8-ac64-01b7f31*** |
Details of key information values
| Operator name | Sample value | Description |
| Text check - keyword check | Hello | The text in the current sentence that hits this operator. This is the text highlighted in red in the sentence when you view the hit position on the review page. |
| Text check - text similarity check | 82 | The similarity value. |
| Text check - regular expression check | Hello | The text in the current sentence that hits this operator. This is the text highlighted in red in the sentence when you view the hit position on the review page. |
| Text check - context repetition check | Hello | The text in the current sentence that hits this operator. This is the text highlighted in red in the sentence when you view the hit position on the review page. |
| Speech check - call silence check | 3200 | The silence duration, in milliseconds. |
| Speech check - speech rate check | 365 | The speech rate value of the current sentence. |
| Speech check - interruption check | 2:8 | The format is "m:n", where m is the interruption duration in seconds, which is the overlapping speech time between the customer service representative and the customer, and n is the number of words in the current sentence. |
| Speech check - role identification | Hello | The text in the current sentence that hits this operator. This is the text highlighted in red in the sentence when you view the hit position on the review page. |
| Speech check - abnormal hang-up | 3567 | The duration in milliseconds from the end time of the last sentence to the hang-up time. |
| Speech check - recording duration check | 56088 | The recording duration in milliseconds. |
| Model check - emotion recognition model | Abuse | The specific type of emotion, such as abuse or high risk. |
| Model check - customer service violation detection model | Sarcasm | The specific type of customer service violation, such as sarcasm, rhetorical question, or abuse. |
Examples
Success response
JSON format
{
"RequestId": "3CEA0495-341B-4482-9AD9-8191EF4***",
"Success": true,
"ResultCountId": "XXX",
"Code": "200",
"Message": "successful",
"PageNumber": 1,
"PageSize": 10,
"Count": 1,
"Data": {
"ResultInfo": [
{
"Status": 0,
"AssignmentTime": "2021-03-02T14:37Z",
"LastDataId": "4498420@a_z@93EAADF1-01D3-44BD-8AC9-F57F447EFCE8_1614*****",
"ErrorMessage": "xxx",
"Reviewer": "xxx",
"CreateTime": "2019-07-24T19:31Z",
"ReviewStatus": 1,
"ReviewTimeLong": "1602743090",
"TaskName": "test",
"ReviewResult": 0,
"Score": 100,
"CreateTimeLong": "1602743090",
"ReviewTime": "2019-07-24T19:31Z",
"Comments": "xx",
"TaskId": "A6BEC8D-9A5B-4BE5-8432-4F635E***",
"ReviewType": 1,
"Resolver": "XXX",
"AsrResult": {
"AsrResult": [
{
"Words": "xx",
"Begin": 10000,
"EmotionValue": 1,
"End": 0,
"SpeechRate": 50,
"Role": "Customer",
"Identity": "OPERATOR_001"
}
]
},
"HitResult": {
"HitResult": [
{
"Type": "0417 regression type",
"ReviewResult": 0,
"Name": "20190417 regression 3",
"Rid": "1276",
"Hits": {
"Hit": [
{
"KeyWords": {
"KeyWord": [
{
"From": 1,
"To": 2,
"Val": "test",
"Cid": "xxxx"
}
]
},
"Cid": {
"Cid": [
"xxxx"
]
},
"Phrase": {
"EmotionValue": 0,
"End": 300,
"Words": "xxx",
"Role": "Customer service representative",
"Begin": 300
}
}
]
},
"SchemeId": 0,
"SchemeVersion": 0,
"Conditions": {
"Conditions": [
{
"Cid": "a",
"Id": 1,
"Rid": "1",
"Check_range": {
"RoleId": 1,
"Role": "Customer service representative",
"Anchor": {
"Cid": "1",
"Location": "BEFORE",
"Hit_time": 1
},
"Range": {
"From": 2,
"To": 4
},
"TimeRange": {
"From": 1733277928,
"To": 1733277928
},
"Absolute": false,
"AllSentencesSatisfy": true
},
"Operators": {
"Operator": [
{
"Oid": "1",
"Id": 1,
"Type": "ABUSE_MODEL",
"Param": {
"Keywords": {
"Keyword": [
"Hello"
]
},
"Regex": "a&&b",
"NotRegex": "c&&d",
"Phrase": "Hello",
"Interval": 1733277928,
"IntervalEnd": 1733277928,
"Threshold": 1,
"In_sentence": true,
"Target": 0,
"From_end": true,
"KeywordExtension": 0,
"Case_sensitive": false,
"Near_dialogue": false,
"MinWordSize": 2,
"Hit_time": 2,
"Excludes": {
"Exclude": [
"Hello"
]
},
"From": 0,
"CheckFirstSentence": false,
"Average": false,
"BeginType": "0",
"EndType": "0",
"CompareOperator": "gt",
"ContextChatMatch": true,
"KeywordMatchSize": 1,
"MaxEmotionChangeValue": 2,
"CheckType": 1,
"DelayTime": 1000,
"FlowNodePrerequisiteParam": {
"NodeId": 1,
"NodeName": "Start node",
"NodeMatchStatus": 1
},
"IntentModelCheckParm": {
"ModelScene": "AGENT",
"Intents": {
"Intent": [
{
"Id": 0,
"Name": "fvt-eci-copy-5c703091"
}
]
}
}
},
"Name": "Keyword detection"
}
]
},
"Lambda": "a&&b",
"Exclusion": 0
}
]
},
"Score": -5,
"MachineHitResult": "1",
"FinalHitResult": "1",
"ArtificialRule": "turn"
}
]
},
"HitScore": {
"HitScore": [
{
"ScoreName": "Complaint",
"ScoreNumber": "-20",
"ScoreId": "123456",
"RuleId": "123"
}
]
},
"Recording": {
"Remark13": "XXX",
"Callee": "1888888****",
"DialogueSize": 32,
"PrimaryId": "3437500",
"Remark12": "XXX",
"Remark1": "XXX",
"Remark7": "XXX",
"Remark8": "XXX",
"Remark2": "XXX",
"CallId": "XXXX",
"Remark9": "XXX",
"Name": "123456.mkv",
"Remark6": "XXX",
"Remark10": "XXX",
"Business": "Customer service business line",
"Remark3": "XXX",
"Url": "http://aliyun.com/audio.wav",
"Remark11": "XXX",
"Remark4": "XXX",
"CallType": 1,
"Caller": "0108888****",
"DataSetName": "XXXX",
"Duration": 60,
"Remark5": 1232,
"Id": "6fa76916-3ce6-45d8-ac64-01b7f31***",
"CallTime": "1563967699000",
"TaskConfigId": 123,
"TaskConfigName": "Task A",
"CustomerName": "Zhang San"
},
"Agent": {
"Name": "Intelligent conversation analysis agent",
"SkillGroup": "Quality inspection skill",
"Id": "28240****15643"
},
"SchemeIdList": {
"SchemeIdList": [
0
]
},
"SchemeNameList": {
"SchemeNameList": [
"General pre-sales scheme"
]
},
"ReviewHistoryList": {
"ReviewHistory": [
{
"Type": 1,
"OperatorName": "Zhang San",
"TimeStr": "2019-10-28 15:21:00",
"Score": 95,
"ReviewResult": 1,
"ComplainResult": 1,
"OldScore": 90,
"ReviewManagerType": "[One category][Two categories: First category, First category->Next level]",
"Time": 1722396376000,
"Comments": "Auto insurance claim outbound call 16",
"ReviewRightRule": {
"ReviewRightRule": [
{
"ruleName": "Greeting rule",
"rid": 21
}
]
},
"Operator": 83197
}
]
},
"ReviewTypeIdList": {
"ReviewTypeIdList": [
{
"ReviewKeyIdList": {
"ReviewKeyIdList": [
0
]
},
"ReviewTypeId": 1
}
]
},
"Vid": "6fa76916-3ce6-45d8-ac64-01b7f31***"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.