Updated on 2025-04-22 GMT+08:00

Querying Task Operation Logs

Function

Queries task operation logs.

Calling Method

For details, see Calling APIs.

URI

GET /v1/{project_id}/voice-training-manage/user/jobs/{job_id}/op-logs

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.

Table 2 Query Parameters

Parameter

Mandatory

Type

Description

offset

No

Integer

Offset where the query starts.

Value range:

0-2147483647

Default value:

0

limit

No

Integer

Number of items displayed on each page.

Value range:

1-100

Default value:

10

Request Parameters

None

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

count

Integer

Total number of operation logs that meet the query criteria

Value range:

0-2147483647

operations

Array of OperationLogItem objects

Operation Log List

Table 4 OperationLogItem

Parameter

Type

Description

time

Long

Operation time

Value range:

0-2147483647

action

String

Operation name. The existing actions can be CREATE_JOB (create a task),COMMIT_JOB (submit a task),SYSTEM_AUDIT_PASS (approval by the system), orADMIN_AUDIT_PASS (approval by the administrator). AUDIT_NOT_PASS (approval failed), MOUNTING_FINISH (training completed),UPLOADING_MODEL (uploading voice model),COMPLETE_JOB (task completed)

operator

String

Operator, USER (user), ADMIN (administrator), SYSTEM (user)

external_info

OpExternalInfo object

Additional information about operation logs.

Table 5 OpExternalInfo

Parameter

Type

Description

review_id_list

Array of strings

Review detail IDs

Status code: 400

Table 6 Response body parameters

Parameter

Type

Description

error_code

String

Error code.

error_msg

String

Error description.

Example Requests

None

Example Responses

None

Status Codes

Status Code

Description

200

OK

400

Abnormal training parameters

Error Codes

See Error Codes.