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
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 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. |
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