---
title: "GET /v1beta/properties/{propertiesId}/keyEvents"
method: GET
path: "/v1beta/properties/{propertiesId}/keyEvents"
tags: ["properties"]
---

# GET /v1beta/properties/{propertiesId}/keyEvents

`GET /v1beta/properties/{propertiesId}/keyEvents`

## Request

- Base URL: `https://analyticsadmin.googleapis.com`
- URL: `https://analyticsadmin.googleapis.com/v1beta/properties/{propertiesId}/keyEvents`
- Auth: one of:
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/analytics.edit`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/analytics.edit`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/analytics.readonly`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/analytics.readonly`

Returns a list of Key Events in the specified parent property. Returns an empty list if no Key Events are found.

## Path parameters

- `propertiesId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string
- `pageSize` integer
- `pageToken` string

## Response `200`

Successful response

- GoogleAnalyticsAdminV1betaListKeyEventsResponse: Response message for ListKeyEvents RPC.
  - `keyEvents` GoogleAnalyticsAdminV1betaKeyEvent[]: The requested Key Events
    - `countingMethod` 'COUNTING_METHOD_UNSPECIFIED' | 'ONCE_PER_EVENT' | 'ONCE_PER_SESSION': Required. The method by which Key Events will be counted across multiple events within a session.
    - `createTime` string, google-datetime: Output only. Time when this key event was created in the property.
    - `custom` boolean: Output only. If set to true, this key event refers to a custom event. If set to false, this key event refers to a default event in GA. Default events typically have special meaning in GA. Default events are usually created for you by the GA system, but in some cases can be created by property admins. Custom events count towards the maximum number of custom key events that may be created per property.
    - `defaultValue` GoogleAnalyticsAdminV1betaKeyEventDefaultValue: Defines a default value/currency for a key event.
      - `currencyCode` string: Required. When an occurrence of this Key Event (specified by event_name) has no set currency this currency will be applied as the default. Must be in ISO 4217 currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for more information.
      - `numericValue` number, double: Required. This will be used to populate the "value" parameter for all occurrences of this Key Event (specified by event_name) where that parameter is unset.
    - `deletable` boolean: Output only. If set to true, this event can be deleted.
    - `eventName` string: Immutable. The event name for this key event. Examples: 'click', 'purchase'
    - `name` string: Output only. Resource name of this key event. Format: properties/{property}/keyEvents/{key_event}
  - `nextPageToken` string: A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

## Changes

- **2026-10-29** `2f06698abda1`: 4 info
  - the security scope `https://www.googleapis.com/auth/analytics.edit` was added to the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/analytics.edit` was added to the endpoint's security scheme `Oauth2c`
  - the security scope `https://www.googleapis.com/auth/analytics.readonly` was removed from the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/analytics.readonly` was removed from the endpoint's security scheme `Oauth2c`

[Operation history](https://skmtc.dev/google/apis/analyticsadmin/changes/v1beta/properties/:propertiesId/keyEvents/get.md)

---

[API](https://skmtc.dev/google/apis/analyticsadmin.md) - [All operations](https://skmtc.dev/google/apis/analyticsadmin/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/analyticsadmin/revisions/2f06698abda1?raw)
