Get calculation status and results
Result of computation [Using returned result link from process-run call]
GET
https://api.olisystems.com/result/{jobId}?final-solution=true
URL contains the result of the computation if status is processed
Headers
Name
Type
Description
Authorization
string
Bearer {access_token}
Content-Type
string
application/json
status can be IN QUEUE, IN PROGRESS, PROCESSED, FAILED or ERROR
if status = IN QUEUE/IN PROGRESS, keep polling the endpoint in resultsLink
if status = PROCESSED, result should be in data.result
if status = FAILED, computation failure. error will be be in data.error
if status = ERROR, a system error occurred
Example chain of request responses
If the data.context = "solution" and data.flowsheetConvergence = true signifies that results are available.
Last updated