π Manage model environments
Update model environment
Updates an environmentβs settings and returns the updated environment.
Authorizations
Authorization
string
headerrequiredYou must specify the scheme 'Api-Key' in the Authorization header. For example, Authorization: Api-Key <Your_Api_Key>
Path Parameters
model_id
string
requiredenv_name
string
requiredBody
application/json
A request to update an environment.
autoscaling_settings
object | null
Autoscaling settings for the environment
promotion_settings
object | null
Promotion settings for the environment
Response
200 - application/json
The response to a request to update autoscaling settings.
status
enum<string>
requiredStatus of the request to update autoscaling settings
Available options:
ACCEPTED
, QUEUED
, UNCHANGED
message
string
requiredA message describing the status of the request to update autoscaling settings