Get prediction progress
curl --request GET \
--url https://{tenant}-api.mathfi.ai/api/v1/predictions/{predictionKey}/progress \
--header 'Authorization: Bearer <token>'import requests
url = "https://{tenant}-api.mathfi.ai/api/v1/predictions/{predictionKey}/progress"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"status": "PENDING"
}Predictions
Get prediction progress
Get prediction progress. The status indicates the progress
GET
/
api
/
v1
/
predictions
/
{predictionKey}
/
progress
Get prediction progress
curl --request GET \
--url https://{tenant}-api.mathfi.ai/api/v1/predictions/{predictionKey}/progress \
--header 'Authorization: Bearer <token>'import requests
url = "https://{tenant}-api.mathfi.ai/api/v1/predictions/{predictionKey}/progress"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"status": "PENDING"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
Prediction progress successful response
Status of prediction processing:
PENDING- The prediction has been successfully created and is pending executionRUNNING- The prediction is currently being processed. When this status is returned, an url for progress check is returned tooCOMPLETED- The prediction has been successfully completed. An url to download the result as CSV is provided in the responseFAILED- The prediction execution has failedTIMEOUT- The prediction execution has timed out
Available options:
PENDING, RUNNING, COMPLETED, FAILED, TIMEOUT