POST

/api/eaas-console/environments

Console — create an environment

Same create contract as POST /api/v1/environments (202 + Location, same create

spec, same idempotency ledger with the canonical /api/v1 path), over the session

channel.

No code sample available for this language

Parameters

FieldTypeReqDefaultDescription
stringN—
stringN—

Request Body

FieldTypeReqDefaultDescription
projectIdstringY—
templatestringY—Official template name, or an immutable `name@sha256:...` pin (mismatch → 422).
profilestring (2c4g)Y—Gate A supports the `2c4g` profile only.
ttlSecondsintegerN3600
metadataobjectN—
envobjectN—Secret values are injected only after the environment is bound to the caller's identity; they never enter events or warm templates.
startupobjectN—
└ onWarmMissstring (cold | fail)N—May only tighten the project policy (cold→fail); loosening is rejected.

Try it out

Sign in to use your API key
Request Body
Response
Click Execute to test