Stacks

GetStacksAnnotation

Retrieves an annotation for a stack, identified by the annotation kind. Annotations are structured metadata that can be attached to stacks for purposes such as compliance tracking, custom metadata, or integration data. The optional 'source' and 'version' query parameters allow filtering by annotation source and specific version. Returns 404 if the annotation does not exist.

get/api/stacks/{orgName}/{projectName}/{stackName}/annotations/{kind}

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}/annotations/{kind}
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

projectNamestring required

The project name

stackNamestring required

The stack name

kindstring required

The annotation kind

Query parameters

sourcestring

The annotation source

versioninteger

The annotation version number, used for filtering by a specific version

Response

OK

object required

Changes

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