You can obtain information about a predictive task.
Execution permission
Admin, Modify
Request line
GET baseURL/v1/objects/PredictionTask/{id}
Request body
Not applicable.
Response body
The structure of the response body and the object attributes is as follows:PredictionTask
{
"name":"...",
"taskState":"..."
}
PredictionTask (Type: PredictionTask)
|
Attribute |
Type |
Description |
|---|---|---|
|
name |
string |
Name of the task. |
|
taskState |
enum |
Executing status of the task. (For details about the valid values, see the table PredictionExecState in List of enumerators.) |
Status codes
|
Status code |
Reason phrase |
Description |
|---|---|---|
|
200 |
OK |
Success. |
|
401 |
Unauthorized |
No login privilege. |
|
403 |
Forbidden |
No reference privilege. |
|
412 |
Precondition Failed |
The server is not available. |
|
500 |
Internal Server Error |
Server processing error. |