Actions141
- Auto DJ Actions
- Auto DJ > Events Actions
- Auto DJ > Media Actions
- Auto DJ > Playing Playlist Actions
- Auto DJ > Playlist Actions
- Encoder Events Actions
- Hls Stream Actions
- Mediapulse Actions
- Notifications Actions
- Options Actions
- Packs Actions
- Players Actions
- Radio Product Options Actions
- Radio Products Actions
- Server Events Actions
- Stations Actions
- Stats > Hls Stream Actions
- Stats > Radio Products Actions
- Stats > Stations Actions
- Get Status
- Get Instant Listeners
- Get Stats Listeners
- Get Mediastats
- Set Metadata To Station
- Get Listeners
- Get Listeners Per Minute
- Get Listeners Per Minute Per Stream
- Get Countries
- Get Countries By Continent
- Get Listeners By Stream
- Get Consumption
- Get Total Consumption
- Get Consumption By Stream
- Get Players
- Get Total Players
- Get Stats By Streams
- Export Stats
- Export Stats By Stream
- List Stats Links
- Stats > Streams Actions
- Streams Actions
- Transcodings Actions
Stats > Stations → Get Consumption
AI-generatedSummary
Fetch consumption statistics for a specified radio product and station over a given time range
Inputs
- authentication — Authentication method (OAuth2 or API Key).
- path_radio_product_id (required) — The unique identifier (ID) of the radio product to request.
- path_station_id (required) — The unique identifier (ID) of the station to request.
- query_from (required) — Start timestamp or identifier for consumption data.
- query_to (required) — End timestamp or identifier for consumption data.
- queryParameters — Additional query parameters for the request.
- returnFullResponse — If true, the full API response is returned; otherwise only essential data.
Output shape
an object containing consumption statistics for the specified station and time range
When returnFullResponse is false, only essential fields are included; when true, the complete API response is returned; errors are propagated as workflow errors.
Examples
Example 1: Retrieve consumption stats for product 12 and station 34 between 2023-01-01 and 2023-01-02 using OAuth2 and HLS stats.
OAuth2 auth, path_radio_product_id:12, path_station_id:34, query_from:2023-01-01T00:00:00Z, query_to:2023-01-02T00:00:00Z, queryParameters:{withHlsStats:true}, returnFullResponse:false
Example 2: Fetch the full consumption payload for station 88 using an API key over June 2023.
apiKey auth, path_radio_product_id:99, path_station_id:88, query_from:2023-06-01, query_to:2023-06-30, queryParameters:{}, returnFullResponse:true