Environments
OpenEnvironment
Opens a Pulumi ESC environment, fully resolving all dynamic values, provider integrations (fn::open), interpolation expressions, and secrets. This initiates an access session that evaluates the complete environment definition including all imports. The duration parameter specifies how long the session remains valid using Go duration format (e.g., '2h45m', '300ms'). Returns an OpenEnvironmentResponse containing the session ID and any diagnostics. Use the session ID with ReadOpenEnvironment to retrieve the resolved values.
post/api/preview/environments/{orgName}/{envName}/open
Request
- Base URL: https://api.pulumi.com (the document declares no server; this is the origin it was published from)
- URL: https://api.pulumi.com/api/preview/environments/{orgName}/{envName}/open
- Auth: none declared
Path parameters
orgNamestring required
The organization name
envNamestring required
The environment name
Query parameters
durationstring
The session duration, using Go time units: ns, us, ms, s, m, h (e.g. '2h')
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.