Infomaniak Streaming Video icon

Infomaniak Streaming Video

Interact with Infomaniak Streaming Video API

Actions92

Stats > Globals > Consumption → Consumption Per Channel Histogram

AI-generated

Summary

Fetch consumption histogram per channel for a given account and date range

Inputs

  • authentication — Authentication method (OAuth2 or API Key)
  • query_from (required) — Starting date for the consumption data (YYYY-MM-DD format)
  • query_account_id (required) — Numeric identifier of the account
  • queryParameters — Additional query parameters such as aggregation period and end date
  • returnFullResponse — If true, returns the complete API response; otherwise only relevant fields

Output shape

an array of consumption histogram entries, each containing channel and aggregated consumption data

The response may be empty if no data matches the filters; pagination is not exposed via this node.

Examples

Example 1: Visualize daily consumption per channel for account 12345 from 2024-01-01 to 2024-12-31

authentication: OAuth2; query_from: 2024-01-01; query_account_id: 12345; query_per: day; query_to: 1735689600; returnFullResponse: false

Links

Discussion