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 > Viewers → Viewers Histogram
AI-generatedSummary
Retrieve viewers histogram for a given account and date range
Inputs
- authentication — Authentication method (OAuth2 or API Key)
- query_from (required) — Start date for the histogram (inclusive)
- query_to (required) — End date for the histogram (exclusive)
- query_per (required) — Time interval for histogram bins (day, hour, minute, month, quarter, week, year)
- query_account_id (required) — Infomaniak account identifier
- returnFullResponse — If true, returns the full API response; otherwise returns a summary
Output shape
array of objects representing viewer counts per interval
When returnFullResponse is false the node returns only the histogram data; when true it returns the complete API response which may include additional metadata. Pagination is not indicated.
Examples
Example 1: Fetch daily viewer histogram for account 42 from Jan 1 to Jan 31 using OAuth2
authentication=oauth2, query_from=2024-01-01, query_to=2024-02-01, query_per=day, query_account_id=42, returnFullResponse=false
Example 2: Get hourly viewer histogram for account 7 over the past week using API Key
authentication=apiKey, query_from=2024-09-20, query_to=2024-09-27, query_per=hour, query_account_id=7, returnFullResponse=true
Example 3: Retrieve yearly viewer histogram for account 101 with full response
authentication=oauth2, query_from=2020-01-01, query_to=2021-01-01, query_per=year, query_account_id=101, returnFullResponse=true