Gets all environments
Gets all environments for a given model.
get/v1/models/{model_id}/environments
Request
- Base URLhttps://model-{model_id}.api.baseten.co
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Example response
{
"environments": [
{
"promotion_settings": {
"redeploy_on_promotion": true,
"rolling_deploy": true,
"rolling_deploy_config": {
"max_surge_percent": 25,
"max_unavailable_percent": 10,
"stabilization_time_seconds": 300
},
"ramp_up_while_promoting": true,
"ramp_up_duration_seconds": 600
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.