Actions5
Segment → Get Many
AI-generatedSummary
Retrieve a list of segments available for a specified Supermetrics data source.
Inputs
- Data Source Name or ID (required) — Select a Supermetrics data source from the dropdown or specify its ID using an expression. This determines which data source's segments are fetched.
Output shape
a list of items where each item contains JSON object representing a segment with its properties including ds_user (user associated with the data source) and segment details
The operation fetches all segments for the chosen data source by querying Supermetrics' API endpoint '/query/segments'. It returns a flat list combining segments from all linked user accounts under that data source. If no segments exist, an empty list is returned without error.