Search targets and discovered resources across organization scope, a page at a time in one stable order.
Parameters
Search query
Maximum items in page
Opaque cursor from next_cursor of the previous page. Send it with the same query.
Filter by target kind (postgres, mysql, clickhouse, mongodb, kubernetes)
postgresmysqlclickhousemongodbsshkubernetesapplicationKeep only hits of these match types. Repeat the parameter for several. Without it every type but table is kept, as for clients of the previous release. Tables come only when table is named. Tables match by the start of their name and only for a query of at least three characters. Letter case is compared by the lower() of the Principal database: with LC_CTYPE=C only the ASCII letters A-Z ignore case.
targetdatabaseschematablerolemysql_user clickhouse_user mongodb_user k8s_namespace k8s_cluster_role k8s_role k8s_cluster_binding k8s_role_binding ssh_tunnel ssh_key Responses
OK
ResourcesSearchResponse · 6 fields
Targets whose discovered resources the search could not read for this page. Empty when partial is false. Join the lists of every page read.
2 fields
True when another page follows. The list ends when it is false.
12 fields
Database of a database, schema or table hit.
True for a Kubernetes object Principal created.
What a resource search hit matched.
targetdatabaseschematablerolemysql_user clickhouse_user mongodb_user k8s_namespace k8s_cluster_role k8s_role k8s_cluster_binding k8s_role_binding ssh_tunnel ssh_key Namespace of a Kubernetes namespace, Role or RoleBinding hit.
Schema of a PostgreSQL schema or table hit. For MariaDB and ClickHouse tables, the database.
postgreskubernetesmysqlclickhousemongodbapplicationsshOpaque cursor of the next page, present only when has_more is true. Send it unchanged as the cursor query parameter with the same filters.
Full number of items that match the request, present only when the list counts them. It is never the size of the page.
True when the resources of some targets could not be read for this page: the items are then not a proof that nothing else matches. A list is partial when any of its pages was.
Common errors: 400 401 403 429 504. They mean the same for every operation, see Errors.