Help Center/ MetaStudio/ API Reference/ Voice Modeling Task Management/ Obtaining the Review Result of a Voice Training Task
Updated on 2024-07-04 GMT+08:00

Obtaining the Review Result of a Voice Training Task

Function

Obtains the review result of a voice training task.

Calling Method

For details, see Calling APIs.

URI

GET /v1/{project_id}/voice-training-manage/user/jobs/{job_id}/audit-result

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

job_id

Yes

String

Task ID.

Request Parameters

None

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

system_audit_result

system_audit_result object

Auto review result.

admin_audit_result

admin_audit_result object

Administrator review result.

Table 3 system_audit_result

Parameter

Type

Description

audit_time

Long

Operation time.

errors

Array of errors objects

Error list.

Table 4 errors

Parameter

Type

Description

audio_name

String

Audio file name.

text_name

String

Text file name.

error_code

String

Error code.

error_message

String

Error information.

Table 5 admin_audit_result

Parameter

Type

Description

message

String

Review information.

attachment_name

String

Attachment name.

attachment_url

String

URL for downloading the attachment.

audit_time

Long

Operation time.

Status code: 400

Table 6 Response body parameters

Parameter

Type

Description

error_code

String

Error code.

error_msg

String

Error description.

Example Requests

GET https://{endpoint}/v1/3f0924078d1b471c884a5383d4dec9fa/voice-training-manage/user/jobs/26f06524-4f75-4b3a-a853-b649a21aaf66/audit-result

Example Responses

Status code: 200

The information is returned when the request succeeded.

{
  "system_audit_result" : {
    "audit_time" : 123,
    "errors" : [ {
      "audio_name" : "audio_0.wav",
      "text_name" : "text_0.txt",
      "error_code" : "MSS.12345678",
      "error_message" : "error description"
    } ]
  },
  "admin_audit_result" : {
    "message" : "message",
    "attachment_name" : "attachment_file_name",
    "attachment_url" : "https://attachment_download_url",
    "audit_time" : 123
  }
}

Status Codes

Status Code

Description

200

The information is returned when the request succeeded.

400

Training exception.

Error Codes

See Error Codes.