Stacks

GetStackResourceCount

Returns the total number of resources currently managed by the stack, based on the most recent update. The response includes the resource count and the stack version number. This is a lightweight endpoint for checking stack size without retrieving full resource details.

get/api/stacks/{orgName}/{projectName}/{stackName}/resources/count

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/stacks/{orgName}/{projectName}/{stackName}/resources/count
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

projectNamestring required

The project name

stackNamestring required

The stack name

Response

OK

resourceCountinteger required

The number of resources in the stack

versioninteger required

The update version number

Changes

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