# Method: projects.locations.integrations.search

- [HTTP request](https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations/search#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations/search#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations/search#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations/search#body.request_body)
- [Response body](https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations/search#body.response_body)
  - [JSON representation](https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations/search#body.SearchIntegrationsResponse.SCHEMA_REPRESENTATION)
- [Authorization scopes](https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations/search#body.aspect)
- [IAM Permissions](https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations/search#body.aspect_1)
- [IntegrationSearchResult](https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations/search#IntegrationSearchResult)
  - [JSON representation](https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations/search#IntegrationSearchResult.SCHEMA_REPRESENTATION)
- [Try it!](https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations/search#try-it)

Searches and returns the list of integrations in the specified project.

### HTTP request

`GET https://integrations.googleapis.com/v1/{parent=projects/*/locations/*}/integrations:search`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `parent` | `string` Required. Project and location from which the integrations should be listed. Format: projects/\*/locations/\*/resources/integrations |

### Query parameters

| Parameters ||
|---|---|
| `query` | `string` Required. The user query |
| `filter` | `string` Optional. The pre-filter to be applied to the search. This should follow the expressions defined in <https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata>. For example, "status:ANY("ACTIVE")" will return all the resources whose status contains the "ACTIVE". |
| `pageSize` | `integer` Optional. The maximum number of results to return. The service may return fewer than this value. If unspecified, at most 10 results will be returned. The maximum value is 100; values above 100 will be coerced to 100. |
| `pageToken` | `string` Optional. A page token, received from a previous `integrations.search` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `integrations.search` must match the call that provided the page token. |
| `enableNaturalLanguageQueryUnderstanding` | `boolean` Optional. Whether to enable natural language query understanding. |

### Request body

The request body must be empty.

### Response body

Response for integrations.search.

If successful, the response body contains data with the following structure:

| JSON representation |
|---|
| ``` { "integrations": [ { object (`https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations/search#IntegrationSearchResult`) } ], "nextPageToken": string } ``` |

| Fields ||
|---|---|
| `integrations[]` | ``object (`https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.integrations/search#IntegrationSearchResult`)`` The list of integrations that match the search criteria. |
| `nextPageToken` | `string` A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages. |

### Authorization scopes

Requires the following OAuth scope:

- `https://www.googleapis.com/auth/cloud-platform`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).

### IAM Permissions

Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource:

- `integrations.integrations.list`

For more information, see the [IAM documentation](https://cloud.google.com/iam/docs).

## IntegrationSearchResult

The integration search result with integration level information.

| JSON representation |
|---|
| ``` { "name": string, "id": string, "creator": string, "description": string, "status": enum (`https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/IntegrationState`), "region": string, "createTime": string, "version": string } ``` |

| Fields ||
|---|---|
| `name` | `string` The integration document metadata. |
| `id` | `string` The integration id. |
| `creator` | `string` The creator of the integration version. |
| `description` | `string` The description of the integration version. |
| `status` | ``enum (`https://docs.cloud.google.com/application-integration/docs/reference/rest/v1/IntegrationState`)`` Output only. The status of the integration version. |
| `region` | `string` The region of the integration version. |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The create time of the integration version. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `version` | `string` The version of the integration version. |