Retrieve the status and results of calculations previously submitted to the /api/solutions endpoint.

Path Parameters

ParameterTypeDescription
solution_idstringThe 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

StatusDescription
completedThe calculations have finished successfully
failedThe calculations encountered an error
processingThe calculations are still being processed

If the status is completed, you can access the results in response["data"]["attributes"]["results"].

Example

curl api-token:{INSERT_API_KEY_HERE}https://app.clearcalcs.com/api/solutions/{solution_id}