ga_get_metadata
Retrieve the full list of available dimensions and metrics metadata for a GA4 property to identify valid fields for report queries.
Instructions
Get available dimensions and metrics metadata for your GA4 property.
⚠️ TOKEN OPTIMIZATION: This returns ALL available dimensions and metrics. Response can be large (~500+ items). Use sparingly and cache results when possible.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| propertyId | No | GA4 property ID to query (overrides the default GA_PROPERTY_ID). Accepts "123456789" or "properties/123456789". Use ga_get_account_summaries to discover IDs. |