v22

latestOpenAPI 3.1.0raw.githubusercontent.com2025-10-15361989.5 KB

Cancel a training

post/trainings/{training_id}/cancel

Path parameters

training_idstring required

The ID of the training you want to cancel.

Response

Success

completed_atstring date-time

The time when the training completed

created_atstring date-time

The time when the training was created

errorstring nullable

Error message if the training failed

idstring

The unique ID of the training

inputobject

The input parameters used for the training

logsstring

The logs from the training process

modelstring

The name of the model in the format owner/name

source'web' | 'api'

How the training was created

started_atstring date-time

The time when the training started

status'starting' | 'processing' | 'succeeded' | 'failed' | 'canceled'

The current status of the training

versionstring

The ID of the model version used for training