v1

latestOpenAPI 3.1.02026-07-26157321426.3 KB

Gets all environments

Gets all environments for a given model.

get/v1/models/{model_id}/environments

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
      }
    }
  ]
}