Promotes a development deployment to production
Creates a new production deployment from the development deployment and returns the deployment that is building.
post/v1/models/{model_id}/deployments/development/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_production": true,
"preserve_env_instance_type": true
}Response
Changes
No recorded changes to this operation across all 1 revision of this API.