Skip to main content
POST
Start a training run on a dataset

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

datasetKey
string<uuid>
required

Body

application/json
scalingFactor
integer<int32>
required
Required range: 0 <= x <= 499
Example:

19

performanceThreshold
number<double>
required

Read this off the dataset's recommendedThreshold where it has one, rather than choosing a round number. See the endpoint description.

Required range: 0 <= x <= 1
Example:

0.70336

Response

Training job successfully created

trainingJobKey
string<uuid>
required
datasetKey
string<uuid>
required
status
enum<string>
required

Status of training:

  • PENDING - The training job has been created and is pending execution
  • RUNNING - The training job is currently executing and progressing
  • COMPLETED - 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 configured
  • CANCELLED - The training job has been cancelled by the user
  • NOT_COMPLETED - The training job has stalled without making progress in a specified timeframe
  • FAILED - The training job has failed due to an error
Available options:
PENDING,
RUNNING,
COMPLETED,
TIMED_OUT,
CANCELLED,
FAILED,
NOT_COMPLETED