curl --request GET \
--url https://{tenant}-api.mathfi.ai/api/v1/training/{trainingJobKey} \
--header 'Authorization: Bearer <token>'import requests
url = "https://{tenant}-api.mathfi.ai/api/v1/training/{trainingJobKey}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"trainingJobKey": "3a1a9a83-d549-4f25-b7ed-8174e0c955de",
"datasetKey": "2b0a9a83-d549-4f25-b7ed-8174e0c955cd",
"status": "PENDING",
"scalingFactor": 19,
"targetPerformance": 0.85
}Get training job detail
Get training job detail by key
curl --request GET \
--url https://{tenant}-api.mathfi.ai/api/v1/training/{trainingJobKey} \
--header 'Authorization: Bearer <token>'import requests
url = "https://{tenant}-api.mathfi.ai/api/v1/training/{trainingJobKey}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"trainingJobKey": "3a1a9a83-d549-4f25-b7ed-8174e0c955de",
"datasetKey": "2b0a9a83-d549-4f25-b7ed-8174e0c955cd",
"status": "PENDING",
"scalingFactor": 19,
"targetPerformance": 0.85
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
Training job detail successful response
Status of training:
PENDING- The training job has been created and is pending executionRUNNING- The training job is currently executing and progressingCOMPLETED- The training job has completed execution successfully, reaching the target performance. A model has been generated.TIMED_OUT- The training job could not reach the target performance in the configuredCANCELLED- The training job has been cancelled by the userNOT_COMPLETED- The training job has stalled without making progress in a specified timeframeFAILED- The training job has failed due to an error
PENDING, RUNNING, COMPLETED, TIMED_OUT, CANCELLED, FAILED, NOT_COMPLETED When the run was created, as an ISO-8601 UTC instant. The listing carries this too; it is here so a client that opened a run directly does not have to go back to the list for it.
Alias of the winning algorithm. Present only on COMPLETED jobs.
Per-algorithm latest-in-time performance at job termination. Present on all terminal statuses.
Show child attributes
Show child attributes
What a finished run produced: the models it offers, which of them predictions run against, and where they were published. Null on a run of the older pipeline, which offers one model and no choice.
Show child attributes
Show child attributes