Create an environment
Create a new environment for a project
POST
Path parameters
namespace
type: string
requiredThe namespace (user or organization) the project belongs to.
proj
type: string
requiredThe project ID or slug.
Body parameters
name
type: string
requiredA unique environment name within the project (e.g., `production`, `staging`, `preview`).
env_vars
type: object
Environment variables as key-value pairs.
deployment_config
type: object
Deployment configuration overrides for this environment (e.g., replicas, auto_deploy).
Previous → List environments