Search App Resources
Search app resources based on filters specified in the request body.
Request body
Restrict the search to AI-agent resources with one of the given agent lifecycle statuses (READY, DISABLED, DELETED). When empty, agent status is not used as a filter.
The app ID to restrict the search to.
A list of app IDs to restrict the search to. Mirrors the singular app_id; both fold into the same filter, so callers may set either or both.
A list of app user IDs to restrict the search by.
Restrict the search to resources whose credential material spine (K1) matches one of the given CredentialType values. Applies to resources with a secret_trait. When empty, credential_type is not used as a filter.
Direction to sort in. Unspecified falls back to ASC when sort_field is set. No defined_only validation here: protoc-gen-validate mis-resolves the cross-package enum name map to this file's c1.models.app.v1 import alias instead of c1.api.search.v1, which fails to compile. The query builder already treats any unrecognized value as ASC, so this is safe to omit.
When true, excludes resources belonging to soft-deleted apps.
If true, exclude resources whose bindings have been deleted.
A list of resource IDs to exclude from the search results.
A list of resource type trait IDs to exclude from the search.
Restrict the search to resources whose NHI classification spine (K3) is one of the given NhiType values. When empty, nhi_type is not used as a filter.
A list of C1 user IDs to filter resources by ownership. The sentinel value "none" matches resources with no owner. Mutually exclusive with unowned_only — combine "none" with real owner IDs instead of setting unowned_only alongside them.
The maximum number of results to return per page.
The token for fetching the next page of results.
Fuzzy search the display name of resources.
A list of resource IDs to restrict the search to.
A list of resource type IDs to restrict the search by.
A list of resource type trait IDs to restrict the search by.
Column to sort by. Unspecified (0) keeps the server's default order (app, then display name).
When true, restrict results to resources with no ownership-v2 primary-role owner. Mutually exclusive with owner_user_ids — use owner_user_ids: ["none"] instead if you also need to combine it with real owner IDs.
When true, restrict results to resources that have at least one open finding (index-backed EXISTS semi-join). When false/unset, results are unfiltered.
Response
The SearchAppResourcesResponse message contains a list of results and a nextPageToken if applicable.
The token for fetching the next page of results.