Retrieves diagnostic results.
Operation description
The diagnostic process is asynchronous. When you call this operation, the diagnosis may still be in progress. Check the data.status field in the response to determine the current state. When data.status == Success, the diagnosis is complete and you can read the diagnostic results from data.result.
Try it now
Test
RAM authorization
Request syntax
GET /api/v1/aifg/getAifgResult HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| taskId |
string |
Yes |
The task ID. |
9cd7aee5-d365-4d4e-8236-58a110a4ea09 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The root node. |
||
| code |
string |
The status code. |
success |
| data |
object |
The data details. |
|
| result |
any |
The diagnostic result. |
success |
| serviceName |
string |
The service name. |
user-service |
| status |
string |
The status of the root data. |
success |
| submitTime |
string |
The time when the data was created. |
2023-01-01T00:00:00Z |
| taskId |
string |
The unique task ID. |
1234567890 |
| traceTaskId |
string |
The training task ID. |
task-as2993fsx |
| message |
string |
The message returned. |
"Execution succeeded" |
| requestId |
string |
The unique request ID. |
1234567890 |
Examples
Success response
JSON format
{
"code": "success",
"data": {
"result": "success",
"serviceName": "user-service",
"status": "success",
"submitTime": "2023-01-01T00:00:00Z",
"taskId": "1234567890",
"traceTaskId": "task-as2993fsx"
},
"message": "\"执行成功\"",
"requestId": "1234567890"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.