Predict.aiDocs
Trainings

Trainings

The run history — every training is scored, immutable, and deployable.

A training is one run of a pipeline: the platform takes the pipeline's segment data, trains the model, evaluates it, and writes a scored record. Trainings are immutable history — you can list them, inspect any run's full report, and deploy any completed run, not just the latest one.

Thirty seconds of API

# The latest runs across the workspace
curl "$API_BASE/v1/training?per_page=10" \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-Workspace-Id: $WORKSPACE_ID"

# One run's full report
curl "$API_BASE/v1/training/$TRAINING_ID" \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-Workspace-Id: $WORKSPACE_ID"

Those are the only two dedicated training routes — trainings are started elsewhere:

TriggerRoute
On demand from a pipelinePOST /v1/pipelines/{pipeline_id}/train
On the pipeline's scheduletraining_schedule on the pipeline
From a goalPOST /v1/goals/{goal_id}/train

In this section

Putting a completed run live is Deployments; running forecasts against it is Inference.

On this page