# Method: projects.snoozes.list

- [HTTP request](https://docs.cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.snoozes/list#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.snoozes/list#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.snoozes/list#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.snoozes/list#body.request_body)
- [Response body](https://docs.cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.snoozes/list#body.response_body)
  - [JSON representation](https://docs.cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.snoozes/list#body.ListSnoozesResponse.SCHEMA_REPRESENTATION)
- [Authorization scopes](https://docs.cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.snoozes/list#body.aspect)
- [Try it!](https://docs.cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.snoozes/list#try-it)

Lists the `Snooze`s associated with a project. Can optionally pass in `filter`, which specifies predicates to match `Snooze`s.

### HTTP request

`GET https://monitoring.googleapis.com/v3/{parent}/snoozes`

### Path parameters

| Parameters ||
|---|---|
| `parent` | `string` Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) whose `Snooze`s should be listed. The format is: projects/[PROJECT_ID_OR_NUMBER] |

### Query parameters

| Parameters ||
|---|---|
| `filter` | `string` Optional. Optional filter to restrict results to the given criteria. The following fields are supported. - `interval.start_time` - `interval.end_time` For example: interval.start_time > "2022-03-11T00:00:00-08:00" AND interval.end_time < "2022-03-12T00:00:00-08:00" |
| `pageSize` | `integer` Optional. The maximum number of results to return for a single query. The server may further constrain the maximum number of results returned in a single page. The value should be in the range \[1, 1000\]. If the value given is outside this range, the server will decide the number of results to be returned. |
| `pageToken` | `string` Optional. The `nextPageToken` from a previous call to `ListSnoozesRequest` to get the next page of results. |

### Request body

The request body must be empty.

### Response body

The results of a successful `snoozes.list` call, containing the matching `Snooze`s.

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

| JSON representation |
|---|
| ``` { "snoozes": [ { object (`https://docs.cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.snoozes#Snooze`) } ], "nextPageToken": string } ``` |

| Fields ||
|---|---|
| `snoozes[]` | ``object (`https://docs.cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.snoozes#Snooze`)`` `Snooze`s matching this list call. |
| `nextPageToken` | `string` Page token for repeated calls to `snoozes.list`, to fetch additional pages of results. If this is empty or missing, there are no more pages. |

### Authorization scopes

Requires one of the following OAuth scopes:

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

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