Skip to main content
GET
/
api
/
v1
/
training
/
{trainingJobKey}
/
progress
Get training progress
curl --request GET \
  --url https://api.mathfi.ai/api/v1/training/{trainingJobKey}/progress \
  --header 'Authorization: Bearer <token>'
{
  "status": "COMPLETED",
  "jobs": [
    {
      "trainingJobKey": "bc9aa412-8d4f-4b00-89af-0e6e3dcf8e57",
      "algorithm": "BSEV01",
      "status": "NOT_COMPLETED",
      "latestPerformance": 0.6199,
      "recentPerformances": [
        0.6199,
        0.6199,
        0.6199,
        0.6199,
        0.6199
      ]
    },
    {
      "trainingJobKey": "d9ab4260-6416-45d6-91e4-7b0b8a0ad56b",
      "algorithm": "BFIF01",
      "status": "NOT_COMPLETED",
      "latestPerformance": 0.7714,
      "recentPerformances": [
        0.7713,
        0.7713,
        0.7714,
        0.7714
      ]
    },
    {
      "trainingJobKey": "e7edd490-3ee2-49f8-a49c-e9f9759965e8",
      "algorithm": "BSIX01",
      "status": "NOT_COMPLETED",
      "latestPerformance": 0.8595,
      "recentPerformances": [
        0.8579,
        0.8602,
        0.866,
        0.8595
      ]
    },
    {
      "trainingJobKey": "f2275fde-73ed-43d0-948a-17ff8f586874",
      "algorithm": "BSEV02",
      "status": "COMPLETED",
      "latestPerformance": 0.92,
      "recentPerformances": [
        0.9194,
        0.92,
        0.92,
        0.9197,
        0.92
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Obtain a token from POST /api/login. Valid for 1 hour.

Path Parameters

trainingJobKey
string<uuid>
required

Response

Training progress retrieved successfully

status
enum<string>
required

Status of a training job:

StatusDescription
PENDINGQueued, not yet started
RUNNINGAlgorithms competing in parallel
COMPLETEDTarget performance reached. Champion model created.
TIMED_OUTDid not reach target performance within the time limit
NOT_COMPLETEDStalled — no progress detected for a sustained period
CANCELLEDCancelled by the user
FAILEDFailed due to an internal error
Available options:
PENDING,
RUNNING,
COMPLETED,
TIMED_OUT,
NOT_COMPLETED,
CANCELLED,
FAILED
targetPerformance
number<double>
jobs
object[]