Skip to main content

Train Custom Model

Start training for a custom model.

Endpoint

POST /api/v3/custom_models/{id}/run

Path Parameters

ParameterTypeRequiredDescription
idnumberYesModel ID

Notes

  • Triggers the training process for the specified model
  • On success, invalidates related queries:
    • Model detail query for the training model
    • Model data query
    • All list queries to see status changes
    • Training-specific query for the model
  • Returns error toast on failure with detailed validation messages
  • Does not show error boundary on failure

See Custom Models Overview for complete guide.