Endpoint
Get Solution
Retrieve the status and results of calculations previously submitted to the /api/solutions
endpoint.
Path Parameters
Parameter | Type | Description |
---|---|---|
solution_id | string | The ID returned in the response to the POST request |
Response
The status of the calculations will be in the response["data"]["attributes"]["state"]
field.
Possible Status Values
Status | Description |
---|---|
completed | The calculations have finished successfully |
failed | The calculations encountered an error |
processing | The calculations are still being processed |
If the status is completed
, you can access the results in response["data"]["attributes"]["results"]
.