Supermetrics icon

Supermetrics

Query marketing data using Supermetrics

Actions5

Field → Get Many

AI-generated

Summary

Retrieve a list of fields (metrics and dimensions) available for a specified Supermetrics data source.

Inputs

  • Data Source Name or ID (required) — Select or specify the ID of a Supermetrics data source to list its available fields.
  • Account Names or IDs — Optionally provide one or more data source account IDs to filter fields by account, selected by loading accounts dependent on the data source.

Output shape

a list of field objects, each containing details about a metric or dimension available in the specified data source.

The output is an array of fields returned from the Supermetrics API for the chosen data source. The list is fetched via a GET request to the /query/fields endpoint with the data source ID as a parameter. Cache and pagination details are handled internally by the node.

Examples

Example 1: Fetch all available fields for Google Analytics data source

Data Source Name or ID set to the Google Analytics source, no accounts filter specified.

Links

Discussion