Train Custom Model
Start training for a custom model.
Endpoint
POST /api/v3/custom_models/{id}/run
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | number | Yes | Model 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
Related Endpoints
- Get Model - Check training status
- Upload Training Data - Add more data
- List Models - View all models
- Delete Model - Delete failed model
See Custom Models Overview for complete guide.