Promotes a deployment to an environment
Promotes an existing deployment to an environment and returns the promoted deployment.
post/v1/models/{model_id}/environments/{env_name}/promote
Request
- Base URLhttps://model-{model_id}.api.baseten.co
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"scale_down_previous_deployment": true,
"preserve_env_instance_type": true
}Response
Changes
No recorded changes to this operation across all 1 revision of this API.