- [HTTP request](https://docs.cloud.google.com/gemini-enterprise-cx/ai-commerce-search/reference/rest/v2alpha/projects.locations.catalogs.controls/list.md.txt#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/gemini-enterprise-cx/ai-commerce-search/reference/rest/v2alpha/projects.locations.catalogs.controls/list.md.txt#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/gemini-enterprise-cx/ai-commerce-search/reference/rest/v2alpha/projects.locations.catalogs.controls/list.md.txt#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/gemini-enterprise-cx/ai-commerce-search/reference/rest/v2alpha/projects.locations.catalogs.controls/list.md.txt#body.request_body)
- [Response body](https://docs.cloud.google.com/gemini-enterprise-cx/ai-commerce-search/reference/rest/v2alpha/projects.locations.catalogs.controls/list.md.txt#body.response_body)
  - [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/ai-commerce-search/reference/rest/v2alpha/projects.locations.catalogs.controls/list.md.txt#body.ListControlsResponse.SCHEMA_REPRESENTATION)
- [Authorization scopes](https://docs.cloud.google.com/gemini-enterprise-cx/ai-commerce-search/reference/rest/v2alpha/projects.locations.catalogs.controls/list.md.txt#body.aspect)
- [IAM Permissions](https://docs.cloud.google.com/gemini-enterprise-cx/ai-commerce-search/reference/rest/v2alpha/projects.locations.catalogs.controls/list.md.txt#body.aspect_1)
- [Try it!](https://docs.cloud.google.com/gemini-enterprise-cx/ai-commerce-search/reference/rest/v2alpha/projects.locations.catalogs.controls/list.md.txt#try-it)

Lists all Controls by their parent `Catalog`.

### HTTP request

`GET https://retail.googleapis.com/v2alpha/{parent=projects/*/locations/*/catalogs/*}/controls`

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

### Path parameters

| Parameters ||
|---|---|
| `parent` | `string` Required. The catalog resource name. Format: `projects/{projectNumber}/locations/{locationId}/catalogs/{catalogId}` |

### Query parameters

| Parameters ||
|---|---|
| `pageSize` | `integer` Optional. Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000. |
| `pageToken` | `string` Optional. A page token, received from a previous `controls.list` call. Provide this to retrieve the subsequent page. |
| `filter` | `string` Optional. A filter to apply on the list results. Supported features: - List all the products under the parent branch if `filter` is unset. - List controls that are used in a single ServingConfig: 'servingConfig = "boosted_home_page_cvr"' |

### Request body

The request body must be empty.

### Response body

Response for controls.list method.

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

| JSON representation |
|---|
| ``` { "controls": [ { object (`Control`) } ], "nextPageToken": string } ``` |

| Fields ||
|---|---|
| `controls[]` | ``object (`Control`)`` All the Controls for a given catalog. |
| `nextPageToken` | `string` Pagination token, if not returned indicates the last page. |

### 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.md.txt#authorization-gcp).

### IAM Permissions

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

- `retail.controls.list`

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