sincecutoff.com
← all changes

Node.js Automation API exposes `org` commands

Introduced 2026-04-08 · score 0.91

HOW TO USE IT

When a Node.js Automation API workflow needs Pulumi organization operations, call the generated `org` methods for get-default, set-default, search, or search ai. For default-organization operations on a `Stack`, use `orgGetDefault()` and `orgSetDefault(<orgName>)`.

await api.orgGetDefault({});
await api.orgSetDefault({}, "<orgName>");
await api.orgSearch({ query: ["<Pulumi resource query>"], org: "<orgName>" }); await api.orgSearchAi({ query: "<natural-language query>", org: "<orgName>" });

WHY THIS HELPS

Use Pulumi organization commands from a Node.js Automation API workflow.

REQUIREMENTS AND LIMITATIONS

  • Version: 3.230.0
  • orgSearch.query: Pulumi resource search query; may be provided as one or multiple queries.
  • orgSearch.org: Organization to search; defaults to the current user's default organization.
  • orgSearch.output: Output format: table, json, csv, or yaml.
  • orgSearchAi.query: Plaintext natural-language query.
  • orgSearchAi.org: Organization to search within.
  • orgSearchAi.output: Output format: table, json, csv, or yaml.
  • orgSetDefault.orgName (required): Name of the organization to set as default.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card