Promotes a model version and/or algorithm to be the active served deployment version
| REQUIRED | KEY | TYPE | DESCRIPTION |
|---|---|---|---|
| Yes | deploymentId | str | A unique identifier for the deployment. |
| Yes | modelVersion | str | A unique identifier for the model version. |
| No | algorithm | str | The algorithm to use for the model version. If not specified, the algorithm will be inferred from the model version. |
| No | modelDeploymentConfig | dict | The deployment configuration for the model to deploy. |
| KEY | TYPE | DESCRIPTION |
|---|---|---|
| success | Boolean | true if the call succeeded, false if there was an error |
| TYPE | WHEN |
|---|---|
| DataNotFoundError |
|
| ConflictError | The active deployment is trying to switch into an only offline deployable algorithm |