Actions92
- Channel Actions
- Channel > Config Actions
- Event Actions
- Integrations Actions
- Live Actions
- Misc > Countries Actions
- Misc > Stream Actions
- Option Actions
- Option > Record Actions
- Option > Record > Instant Actions
- Option > Record > Storage Actions
- Option > Timeshift Actions
- Option > Watermarking Actions
- Option > Simulcast Actions
- Players Actions
- Players > Ads Actions
- Players > Embeds Actions
- Players > Pictures Actions
- Prices Actions
- Restrictions Actions
- Stats > Channel > Connection History Actions
- Stats > Channel > Consumption Actions
- Stats > Channel > Export Stats Actions
- Stats > Channel > Geolocation Actions
- Stats > Channel > Technologies Actions
- Stats > Channel > Viewers Actions
- Stats > Channel > Viewing Actions
- Stats > Globals > Consumption Actions
- Stats > Globals > Geolocation Actions
- Stats > Globals > Viewers Actions
- Stats > Globals > Viewing Actions
- Thumbnail Actions
- Order Actions
Stats > Globals > Viewing → Viewing Histogram Par Channel
AI-generatedSummary
Retrieve a consumption histogram for specified channels over a chosen interval
Inputs
- authentication — Authentication method: OAuth2 or API Key
- query_from (required) — Starting date for consumption data
- query_to (required) — Ending date for consumption data
- query_per (required) — Granularity of the histogram (day, hour, minute, month, quarter, week, year)
- query_account_id (required) — Identifier of the account whose statistics to fetch
- returnFullResponse — If true, returns the full response body; otherwise only summary
Output shape
object where each key is a channel identifier and the value is an array of consumption counts per selected period
The structure may include timestamps and counts; pagination is not applicable. Errors are propagated as n8n error nodes.
Examples
Example 1: Daily viewing hours for account 12345 over September 2024
authentication: OAuth2; query_from: 2024-09-01; query_to: 2024-09-30; query_per: day; query_account_id: 12345; returnFullResponse: false
Example 2: Hourly usage for the last week across all accounts
authentication: API Key; query_from: now-7d@d; query_to: now@d; query_per: hour; query_account_id: 0; returnFullResponse: true
Example 3: Debugging with full response for a month
authentication: OAuth2; query_from: 2024-01-01; query_to: 2024-12-31; query_per: month; query_account_id: 9876; returnFullResponse: true