- [HTTP request](https://docs.cloud.google.com/service-usage/docs/reference/rest/v2beta/services/list#body.HTTP_TEMPLATE)
- [Query parameters](https://docs.cloud.google.com/service-usage/docs/reference/rest/v2beta/services/list#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/service-usage/docs/reference/rest/v2beta/services/list#body.request_body)
- [Response body](https://docs.cloud.google.com/service-usage/docs/reference/rest/v2beta/services/list#body.response_body)
  - [JSON representation](https://docs.cloud.google.com/service-usage/docs/reference/rest/v2beta/services/list#body.ListPublicServicesResponse.SCHEMA_REPRESENTATION)
- [Authorization scopes](https://docs.cloud.google.com/service-usage/docs/reference/rest/v2beta/services/list#body.aspect)
- [Try it!](https://docs.cloud.google.com/service-usage/docs/reference/rest/v2beta/services/list#try-it)

List public services.

### HTTP request

`GET https://serviceusage.googleapis.com/v2beta/services`

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

### Query parameters

| Parameters ||
|---|---|
| `pageSize` | `integer` The maximum number of services to return. The service may return fewer than this value. If unspecified, at most 50 services will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
| `pageToken` | `string` A page token, received from a previous `services.list` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `services.list` must match the call that provided the page token. |
| `filter` | `string` A filter to apply to the list of services. Supported filter strings include: - `mcpServer:urls` True if service's mcpServer.urls field is not empty. |

### Request body

The request body must be empty.

### Response body

The response message of the `services.list` method.

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

| JSON representation |
|---|
| ``` { "services": [ { object (`https://docs.cloud.google.com/service-usage/docs/reference/rest/v2beta/services#Service`) } ], "nextPageToken": string } ``` |

| Fields ||
|---|---|
| `services[]` | ``object (`https://docs.cloud.google.com/service-usage/docs/reference/rest/v2beta/services#Service`)`` Output only. The public services. |
| `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 one of the following OAuth scopes:

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

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