Create environment
Creates an environment for the specified model and returns the environment.
Authorizations
You must specify the scheme 'Api-Key' in the Authorization header. For example, Authorization: Api-Key <Your_Api_Key>
Path Parameters
Body
A request to create an environment.
Name of the environment
"staging"
Autoscaling settings for the environment A request to update autoscaling settings for a deployment. All fields are optional, and we only update ones passed in.
{
"autoscaling_window": 800,
"concurrency_target": 3,
"max_replica": 2,
"min_replica": 1,
"scale_down_delay": 60
}
Promotion settings for the environment Promotion settings for model promotion
{
"ramp_up_duration_seconds": 600,
"ramp_up_while_promoting": true,
"redeploy_on_promotion": true
}
Response
Environment for oracles.
Name of the environment
Time the environment was created in ISO 8601 format
Unique identifier of the model
Current deployment of the environment A deployment of a model.
Autoscaling settings for the environment
Promotion settings for the environment
Instance type for the environment