List Google Analytics dimensions and metrics
list_fieldsRead-onlyIdempotent
Use this to find the exact API names of dimensions and metrics a property can report on, including its custom dimensions, custom metrics and key events, before calling run_report. Filter by kind, a search term (matched against the API name, display name and category) or custom definitions only. Read-only.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Which fields to list. Default 'all'. | |
| limit | No | Fields to return. Default 100, maximum 300. | |
| search | No | Optional text to match, e.g. 'channel', 'revenue' or 'page'. | |
| custom_only | No | Only the property's custom definitions. Default false. | |
| property_id | Yes | Exact property ID from list_properties, e.g. 'properties/123456789'. | |
| connection_id | No | Optional: force a specific Google connection when the property is visible to several. |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| fields | No | ||
| coverage | No | ||
| property | No | ||
| requestId | No |