Environments

OpenYAML

Opens an anonymous Pulumi ESC environment from a raw YAML definition provided in the request body, fully resolving all dynamic values, provider integrations, and secrets. Unlike OpenEnvironment, this does not require a pre-existing environment to be stored. The duration parameter specifies how long the session remains valid using Go duration format. Returns an OpenEnvironmentResponse containing the session ID. Use the session ID with ReadAnonymousOpenEnvironment to retrieve the resolved values.

post/api/esc/environments/{orgName}/yaml/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/esc/environments/{orgName}/yaml/open
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

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.