Querying Task Operation Logs
Function
Queries task operation logs.
Calling Method
For details, see Calling APIs.
Authorization Information
Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions. For details about the required permissions, see Permissions Policies and Supported Actions.
URI
GET /v1/{project_id}/voice-training-manage/user/jobs/{job_id}/op-logs
|
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. |
|
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
|
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. |
|
Parameter |
Type |
Description |
|---|---|---|
|
time |
Long |
Operation time. Value range: 0~2147483647 |
|
action |
String |
Operation name. The value can be CREATE_JOB (creating a task), COMMIT_JOB (submitting a task), SYSTEM_AUDIT_PASS (auto approved), ADMIN_AUDIT_PASS (approved by the administrator), AUDIT_NOT_PASS (review failed), TRAINING_FINISH (training completed), UPLOADING_MODEL (uploading a voice model), and COMPLETE_JOB (task completed). |
|
operator |
String |
Operator. The options are USER (user), ADMIN (administrator), and SYSTEM (system user). |
|
external_info |
OpExternalInfo object |
Additional information about operation logs. |
|
Parameter |
Type |
Description |
|---|---|---|
|
review_id_list |
Array of strings |
Review detail IDs |
|
algorithm_failure_reason |
String |
Algorithm-specific failure cause. |
|
admin_audit_failure_reason |
String |
Reason for rejection by the administrator. |
Status code: 400
|
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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot