Organizations
ResourceSearch

GetOrgResourceSearchV2Query

Searches for resources within an organization with advanced filtering, sorting, and pagination capabilities.

Pagination: The page parameter supports up to 10,000 results. For larger result sets, use the cursor parameter instead (Enterprise plans only). Note that pagination is not transactional — result ordering may change if a stack update completes during pagination.

Sorting: The sort parameter accepts: created, custom, delete, dependencies, id, modified, module, name, package, parentUrn, project, protected, providerUrn, stack, type, urn, managed, category. If omitted, results are sorted by search relevance (or last modified time when no query is provided).

Properties: Set properties=true to include resource input/output values.

Collapse: Set collapse=true to consolidate resources that exist in multiple sources (e.g., both IaC stacks and Insights scans) into a single result.

get/api/orgs/{orgName}/search/resourcesv2

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/orgs/{orgName}/search/resourcesv2
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

Query parameters

ascboolean

Sort in ascending order when true, descending when false

collapseboolean

Collapse results to show one entry per stack instead of per resource

cursorstring

Cursor for paginated results

facetstring[]

Facet filters to apply

groupBystring

Group results by this field

pageinteger

Page number for pagination

propertiesboolean

Include resource properties in search results (may increase response size)

querystring

Search query string

sizeinteger

Number of results to return

sortstring[]

Sort order for results

topinteger

Number of top aggregation buckets to return

Response

OK

aggregationsobject

Aggregation buckets for faceted search.

totalinteger

The total number of matching resources.

Changes

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