Publish a version
publishMake a trained version the live one, used by fills, classify and the Prediction API. Two steps: the first call changes nothing and returns what will change plus a confirmation code; show that to the user, and only after they explicitly agree call again with that exact code. The user's yes is not the code. A code works once, for this model and these arguments, for 10 minutes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | No | The trained version to publish; the latest when left out. | |
| model_id | Yes | The model id, from list_models. | |
| confirmation | No |