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}/versions/{version}/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}/versions/{version}/open
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

envNamestring required

The environment name

versionstring required

The revision version number

Query parameters

durationstring

The session duration, using Go time units: ns, us, ms, s, m, h (e.g. '2h')

Response

OK

idstring required

The unique identifier of the opened environment session.

Changes

No recorded changes to this operation across all 1 revision of this API.