attack_modeboolean nullable
Per-environment CAPTCHA attack-mode override.
null means inherit the project-level attack_mode; true/false
explicitly enable/disable the challenge for this environment. Always
serialized (NOT skipped) so the UI can distinguish null from false.
created_atinteger required
current_deployment_idinteger nullable
estimated_sleep_atinteger nullable
Estimated time (epoch millis) when the environment will go to sleep
based on last activity + idle timeout. NULL when sleeping or on-demand disabled.
force_httpsboolean nullable
Per-environment HTTP→HTTPS redirect override.
null means inherit the proxy default (redirect only when the host has
an active TLS certificate); true always redirects plain HTTP for this
environment, false never does. Always serialized (NOT skipped) so the
UI can distinguish null from false.
is_previewboolean required
Indicates if this is a preview environment (auto-created per branch)
For preview environments, 'branch' contains the feature branch name
last_activity_atinteger nullable
Last proxied request timestamp (epoch millis) for on-demand environments.
NULL when on-demand is disabled or no traffic has been received yet.
project_idinteger required
protectedboolean required
When true, git pushes do NOT auto-deploy to this environment.
Deployments must be promoted from another environment.
sleepingboolean required
When true, the environment's containers are currently stopped due to
inactivity (on-demand mode) and will start on the next request.
subdomainstring required
The host label stored for this environment (e.g.
myproject-production). This is the prefix that is combined with the
platform's preview domain at request time to produce main_url. Edit
this via the rename-subdomain endpoint, not the full URL.
updated_atinteger required