AI-generated Key Takeaways
- 
          The keyEvents.list method returns a list of Key Events in a specified parent property, returning an empty list if none are found. 
- 
          The HTTP request uses a GET method with a URL structure including the parent property ID. 
- 
          Path parameters include the required parentproperty, and query parameters allow for pagination usingpageSizeandpageToken.
- 
          The request body for this method must be empty. 
- 
          The response body contains an array of Key Events and an optional nextPageTokenfor pagination.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Returns a list of Key Events in the specified parent property. Returns an empty list if no Key Events are found.
HTTP request
GET https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/keyEvents
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| parent | 
 Required. The resource name of the parent property. Example: 'properties/123' | 
Query parameters
| Parameters | |
|---|---|
| pageSize | 
 The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) | 
| pageToken | 
 A page token, received from a previous  | 
Request body
The request body must be empty.
Response body
Response message for keyEvents.list RPC.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| {
  "keyEvents": [
    {
      object ( | 
| Fields | |
|---|---|
| keyEvents[] | 
 The requested Key Events | 
| nextPageToken | 
 A token, which can be sent as  | 
Authorization scopes
Requires one of the following OAuth scopes:
- https://www.googleapis.com/auth/analytics.readonly
- https://www.googleapis.com/auth/analytics.edit