Skip to main content
PATCH
Cancel a training job

Authorizations

Authorization
string
header
required

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

Path Parameters

trainingJobKey
string<uuid>
required

Response

Training job cancelling successful response

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
targetPerformance
number<double>
jobs
object[]
nextPollAfterSeconds
integer | null

How long to wait before asking again. Absent once the job has finished — there is nothing further to wait for, and a client that honours this stops polling.