Get async task status.
POST/code/taskstatus
Get async task status.
Request
- application/json
Bodyrequired
taskIdstringrequired
The ID of the task that will be checked.
Responses
- 200
- 400
Success
- application/json
- Schema
- Example (auto)
Schema
statusstringrequired
The current task status.
Possible values: [pending
, error
, success
]
resultstring
The result (output) of the task. Only available if the status is not pending
.
{
"status": "pending",
"result": "string"
}
Bad Request
- application/json
- Schema
- Example (auto)
Schema
statusnumber
errorMessagestring
{
"status": 0,
"errorMessage": "string"
}