Create environment
Creates an environment for the specified model and returns the environment.
Documentation Index
Fetch the complete documentation index at: https://docs.baseten.co/llms.txt
Use this file to discover all available pages before exploring further.
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
{
"autoscaling_window": 800,
"concurrency_target": 3,
"max_replica": 2,
"min_replica": 1,
"scale_down_delay": 60,
"target_in_flight_tokens": null,
"target_utilization_percentage": null
}Promotion settings for the environment
{
"promotion_cleanup_strategy": null,
"ramp_up_duration_seconds": 600,
"ramp_up_while_promoting": true,
"redeploy_on_promotion": true,
"rolling_deploy": true,
"rolling_deploy_config": null
}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
Autoscaling settings for the environment
Promotion settings for the environment
Instance type for the environment
Candidate deployment being promoted to the environment, if a promotion is in progress
Details of the in-progress promotion, if any