Environments

GetContextSchema

Returns the JSON schema of the Pulumi ESC built-in context object — the object environments interpolate as ${context...} (for example context.pulumi.organization.login, context.pulumi.token.type, and context.currentEnvironment.name). The shape is invariant and does not depend on the caller or on any particular environment. Consumers such as editors and documentation tooling use this to discover the available context fields instead of hand-maintaining a copy.

get/api/esc/context/schema

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/context/schema
  • Auth: none declared

Response

OK

Changes

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