# Method: projects.locations.instances.models.list

- [HTTP request](https://docs.cloud.google.com/financial-services/anti-money-laundering/docs/reference/rest/v1/projects.locations.instances.models/list#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/financial-services/anti-money-laundering/docs/reference/rest/v1/projects.locations.instances.models/list#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/financial-services/anti-money-laundering/docs/reference/rest/v1/projects.locations.instances.models/list#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/financial-services/anti-money-laundering/docs/reference/rest/v1/projects.locations.instances.models/list#body.request_body)
- [Response body](https://docs.cloud.google.com/financial-services/anti-money-laundering/docs/reference/rest/v1/projects.locations.instances.models/list#body.response_body)
  - [JSON representation](https://docs.cloud.google.com/financial-services/anti-money-laundering/docs/reference/rest/v1/projects.locations.instances.models/list#body.ListModelsResponse.SCHEMA_REPRESENTATION)
- [Authorization scopes](https://docs.cloud.google.com/financial-services/anti-money-laundering/docs/reference/rest/v1/projects.locations.instances.models/list#body.aspect)
- [IAM Permissions](https://docs.cloud.google.com/financial-services/anti-money-laundering/docs/reference/rest/v1/projects.locations.instances.models/list#body.aspect_1)

Lists models.

### HTTP request

`GET https://financialservices.googleapis.com/v1/{parent=projects/*/locations/*/instances/*}/models`

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

### Path parameters

| Parameters ||
|---|---|
| `parent` | `string` Required. The parent of the Model is the Instance. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `parent`: - `financialservices.v1models.list` |

### Query parameters

| Parameters ||
|---|---|
| `pageSize` | `integer` The number of resources to be included in the response. The response contains a nextPageToken, which can be used to retrieve the next page of resources. |
| `pageToken` | `string` In case of paginated results, this is the token that was returned in the previous ListModelsResponse. It should be copied here to retrieve the next page of resources. Empty will give the first page of ListModelsRequest, and the last page will return an empty pageToken. |
| `filter` | `string` Specify a filter to narrow search results. |
| `orderBy` | `string` Specify a field to use for ordering. |

### Request body

The request body must be empty.

### Response body

Response for retrieving a list of Models

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

| JSON representation |
|---|
| ``` { "models": [ { object (`https://docs.cloud.google.com/financial-services/anti-money-laundering/docs/reference/rest/v1/projects.locations.instances.models#Model`) } ], "nextPageToken": string, "unreachable": [ string ] } ``` |

| Fields ||
|---|---|
| `models[]` | ``object (`https://docs.cloud.google.com/financial-services/anti-money-laundering/docs/reference/rest/v1/projects.locations.instances.models#Model`)`` List of Model resources |
| `nextPageToken` | `string` This token should be passed to the next ListModelsRequest to retrieve the next page of Models (empty indicicates we are done). |
| `unreachable[]` | `string` Locations that could not be reached. |

### 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:

- `financialservices.v1models.list`

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