retrain_dataset
Restart background semantic training for a dataset after schema changes or alias updates. Returns immediately with a status; poll get_dataset_status until model_tier reaches schema.
Instructions
Re-trigger background semantic training for one dataset and return immediately with status and a confirmation message — the build runs asynchronously, so poll get_dataset_status until model_tier reaches 'schema'. Use after schema changes, alias updates, or to force a fresh model build. epochs (default 80, range 5-500) controls training length. An unknown dataset_id fails with not_found; a dataset whose training backend is unavailable fails with semantic_training_unavailable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| epochs | No | Training epochs, 5-500; defaults to 80. | |
| dataset_id | Yes | Dataset ID from onboard_dataset or list_datasets. |