Trainings are dedicated workloads that are specifically used for training models. They are by design preemptible workloads because they are used in unattended sessions where the
scientists and researchers do not need to be present. These workloads are allowed to utilize resources over the project's quota.
Create a training.
post
Create a training workload using container related fields.
Authorizations
AuthorizationstringRequired
Bearer authentication
Body
and
and
Responses
202
Request completed successfully.
application/json
400
Bad submission request.
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
503
unexpected error
application/json
post
/api/v1/workloads/trainings
Get training data.
get
Retrieve training details using a workload id.
Authorizations
AuthorizationstringRequired
Bearer authentication
Path parameters
workloadIdstring · uuidRequired
The Universally Unique Identifier (UUID) of the workload.
Responses
200
Executed successfully.
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
The specified resource was not found
application/json
500
unexpected error
application/json
503
unexpected error
application/json
get
/api/v1/workloads/trainings/{workloadId}
Delete a training.
delete
Delete a training using a workload id.
Authorizations
AuthorizationstringRequired
Bearer authentication
Path parameters
workloadIdstring · uuidRequired
The Universally Unique Identifier (UUID) of the workload.
Responses
202
Accepted.
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
The specified resource was not found
application/json
500
unexpected error
application/json
503
unexpected error
application/json
delete
/api/v1/workloads/trainings/{workloadId}
Suspend a training.
post
Suspend a training from running using a workload id.
Authorizations
AuthorizationstringRequired
Bearer authentication
Path parameters
workloadIdstring · uuidRequired
The Universally Unique Identifier (UUID) of the workload.
Responses
202
Accepted.
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
The specified resource was not found
application/json
500
unexpected error
application/json
503
unexpected error
application/json
post
/api/v1/workloads/trainings/{workloadId}/suspend
Resume a training.
post
Resume a training that was suspended using a workload id.
Authorizations
AuthorizationstringRequired
Bearer authentication
Path parameters
workloadIdstring · uuidRequired
The Universally Unique Identifier (UUID) of the workload.