Resource Search
Get Org Resource Search Query
GetOrgResourceSearchV2Query instead./api/orgs/{orgName}/search/resourcesSearches for resources within an organization. Deprecated: use GetOrgResourceSearchV2Query for improved search functionality.
Request Parameters
orgNamestring path requiredThe organization namecollapseboolean query optionalCollapse results to show one entry per stack instead of per resourcecursorstring query optionalCursor for paginated resultsfacetarray query optionalFacet filters to applygroupBystring query optionalGroup results by this fieldpageinteger query optionalPage number for paginationpropertiesboolean query optionalInclude resource properties in search results (may increase response size)querystring query optionalSearch query stringsizeinteger query optionalNumber of results to returnsortarray query optionalSort order for resultstopinteger query optionalNumber of top aggregation buckets to return
Responses
totalinteger optionalThe total number of matching resources.- The list of matching resource results.
- ↳
createdstring optionalThe ISO 8601 timestamp when the resource was first indexed. - ↳
customboolean optionalWhether this is a custom resource managed by a provider plugin. - ↳
deleteboolean optionalWhether this resource is pending deletion. - ↳
dependenciesarray[string] optionalURNs of resources that this resource depends on. - ↳
externalboolean optionalWhether the lifecycle of this resource is not managed by Pulumi. - ↳
idstring optionalThe provider-assigned resource ID. - ↳
matchesmap[string]array optionalMatched search terms mapped to their highlighted values. - ↳
modifiedstring optionalThe ISO 8601 timestamp when the resource was last updated in the index. - ↳
modulestring requiredThe module that contains this resource. - ↳
namestring optionalThe name of the resource. - ↳
packagestring requiredThe package that provides this resource. - ↳
parent_urnstring optionalThe URN of the parent resource, if any. - ↳
pendingstring optionalThe pending operation on this resource, if any (e.g. creating, updating, deleting). - ↳
projectstring optionalThe project that contains this resource. - ↳
protectedboolean optionalWhether this resource is protected from deletion. - ↳
provider_urnstring optionalThe URN of the provider for this resource. - ↳
stackstring optionalThe stack that contains this resource. - ↳
typestring optionalThe full type token of the resource (e.g. aws:s3/bucket:Bucket). - ↳
urnstring optionalThe URN uniquely identifying this resource within a stack. - ↳
teamsarray[string] optionalThe teams that have access to this resource. - ↳
propertiesobject optionalThe resource’s input/output properties as a JSON object. Only populated when explicitly requested. - ↳
metadataobject optionalAdditional metadata associated with the resource. - ↳
categorystring optionalThe category of the resource. - ↳
accountstring optionalThe Insights account name that discovered or manages this resource. - ↳
dependentsarray[string] optionalURNs of resources that depend on this resource. - ↳
managedstring optionalWhether this resource is managed by Pulumi IaC stacks or discovered by Insights scanning. One of ‘managed’ or ‘discovered’. - ↳
fingerprintstring optionalA fingerprint uniquely identifying this resource’s state. - ↳
sourceCountinteger optionalThe number of sources for this resource. - Aggregation buckets for faceted search.
- Pagination links for navigating through results.
- ↳
previousstring optionalLink to the previous page of results. - ↳
nextstring optionalLink to the next page of results. - ↳
cursorstring optionalAn opaque cursor for resuming pagination.
Get Resource Dashboard Aggregations
/api/orgs/{orgName}/search/resources/dashboardGetResourceDashboardAggregations returns aggregated resource data for display on organization dashboard cards, including resource counts grouped by package and other dimensions.
Request Parameters
orgNamestring path requiredThe organization name
Responses
totalinteger optionalThe total number of matching resources.- The list of matching resource results.
- ↳
createdstring optionalThe ISO 8601 timestamp when the resource was first indexed. - ↳
customboolean optionalWhether this is a custom resource managed by a provider plugin. - ↳
deleteboolean optionalWhether this resource is pending deletion. - ↳
dependenciesarray[string] optionalURNs of resources that this resource depends on. - ↳
externalboolean optionalWhether the lifecycle of this resource is not managed by Pulumi. - ↳
idstring optionalThe provider-assigned resource ID. - ↳
matchesmap[string]array optionalMatched search terms mapped to their highlighted values. - ↳
modifiedstring optionalThe ISO 8601 timestamp when the resource was last updated in the index. - ↳
modulestring requiredThe module that contains this resource. - ↳
namestring optionalThe name of the resource. - ↳
packagestring requiredThe package that provides this resource. - ↳
parent_urnstring optionalThe URN of the parent resource, if any. - ↳
pendingstring optionalThe pending operation on this resource, if any (e.g. creating, updating, deleting). - ↳
projectstring optionalThe project that contains this resource. - ↳
protectedboolean optionalWhether this resource is protected from deletion. - ↳
provider_urnstring optionalThe URN of the provider for this resource. - ↳
stackstring optionalThe stack that contains this resource. - ↳
typestring optionalThe full type token of the resource (e.g. aws:s3/bucket:Bucket). - ↳
urnstring optionalThe URN uniquely identifying this resource within a stack. - ↳
teamsarray[string] optionalThe teams that have access to this resource. - ↳
propertiesobject optionalThe resource’s input/output properties as a JSON object. Only populated when explicitly requested. - ↳
metadataobject optionalAdditional metadata associated with the resource. - ↳
categorystring optionalThe category of the resource. - ↳
accountstring optionalThe Insights account name that discovered or manages this resource. - ↳
dependentsarray[string] optionalURNs of resources that depend on this resource. - ↳
managedstring optionalWhether this resource is managed by Pulumi IaC stacks or discovered by Insights scanning. One of ‘managed’ or ‘discovered’. - ↳
fingerprintstring optionalA fingerprint uniquely identifying this resource’s state. - ↳
sourceCountinteger optionalThe number of sources for this resource. - Aggregation buckets for faceted search.
- Pagination links for navigating through results.
- ↳
previousstring optionalLink to the previous page of results. - ↳
nextstring optionalLink to the next page of results. - ↳
cursorstring optionalAn opaque cursor for resuming pagination.
Get Natural Language Query
/api/orgs/{orgName}/search/resources/parseGetNaturalLanguageQuery converts a natural language query into a structured Pulumi search query using AI. For example, converts ‘show me all S3 buckets in production’ into a proper search syntax.
Request Parameters
orgNamestring path requiredThe organization namequerystring query optionalSearch query string
Responses
Get Org Resource Search V2Query
/api/orgs/{orgName}/search/resourcesv2Searches 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. Requires a supported subscription — returns 402 if not available.
Collapse: Set collapse=true to consolidate resources that exist in multiple sources (e.g., both IaC stacks and Insights scans) into a single result.
Request Parameters
orgNamestring path requiredThe organization nameascboolean query optionalSort in ascending order when true, descending when falsecollapseboolean query optionalCollapse results to show one entry per stack instead of per resourcecursorstring query optionalCursor for paginated resultsfacetarray query optionalFacet filters to applygroupBystring query optionalGroup results by this fieldpageinteger query optionalPage number for paginationpropertiesboolean query optionalInclude resource properties in search results (may increase response size)querystring query optionalSearch query stringsizeinteger query optionalNumber of results to returnsortarray query optionalSort order for resultstopinteger query optionalNumber of top aggregation buckets to return
Responses
totalinteger optionalThe total number of matching resources.- The list of matching resource results.
- ↳
createdstring optionalThe ISO 8601 timestamp when the resource was first indexed. - ↳
customboolean optionalWhether this is a custom resource managed by a provider plugin. - ↳
deleteboolean optionalWhether this resource is pending deletion. - ↳
dependenciesarray[string] optionalURNs of resources that this resource depends on. - ↳
externalboolean optionalWhether the lifecycle of this resource is not managed by Pulumi. - ↳
idstring optionalThe provider-assigned resource ID. - ↳
matchesmap[string]array optionalMatched search terms mapped to their highlighted values. - ↳
modifiedstring optionalThe ISO 8601 timestamp when the resource was last updated in the index. - ↳
modulestring requiredThe module that contains this resource. - ↳
namestring optionalThe name of the resource. - ↳
packagestring requiredThe package that provides this resource. - ↳
parent_urnstring optionalThe URN of the parent resource, if any. - ↳
pendingstring optionalThe pending operation on this resource, if any (e.g. creating, updating, deleting). - ↳
projectstring optionalThe project that contains this resource. - ↳
protectedboolean optionalWhether this resource is protected from deletion. - ↳
provider_urnstring optionalThe URN of the provider for this resource. - ↳
stackstring optionalThe stack that contains this resource. - ↳
typestring optionalThe full type token of the resource (e.g. aws:s3/bucket:Bucket). - ↳
urnstring optionalThe URN uniquely identifying this resource within a stack. - ↳
teamsarray[string] optionalThe teams that have access to this resource. - ↳
propertiesobject optionalThe resource’s input/output properties as a JSON object. Only populated when explicitly requested. - ↳
metadataobject optionalAdditional metadata associated with the resource. - ↳
categorystring optionalThe category of the resource. - ↳
accountstring optionalThe Insights account name that discovered or manages this resource. - ↳
dependentsarray[string] optionalURNs of resources that depend on this resource. - ↳
managedstring optionalWhether this resource is managed by Pulumi IaC stacks or discovered by Insights scanning. One of ‘managed’ or ‘discovered’. - ↳
fingerprintstring optionalA fingerprint uniquely identifying this resource’s state. - ↳
sourceCountinteger optionalThe number of sources for this resource. - Aggregation buckets for faceted search.
- Pagination links for navigating through results.
- ↳
previousstring optionalLink to the previous page of results. - ↳
nextstring optionalLink to the next page of results. - ↳
cursorstring optionalAn opaque cursor for resuming pagination.
Thank you for your feedback!
If you have a question about how to use Pulumi, reach out in Community Slack.
Open an issue on GitHub to report a problem or suggest an improvement.