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 > Channel > Consumption → Consumption Per Resolution
AI-generatedSummary
Fetch channel consumption statistics per selected resolution timeframe.
Inputs
- authentication (required) — Authentication method (OAuth2 or API Key) used to connect to Infomaniak.
- path_channel (required) — Identifier of the channel (Pack order ID) whose stats are requested.
- query_from (required) — Start date for the consumption period (inclusive).
- query_to (required) — End date for the consumption period (exclusive).
- query_per (required) — Resolution granularity for the stats (e.g., day, hour, week).
- query_account_id (required) — Account identifier for which consumption is measured.
- returnFullResponse (required) — If true, the full API response is returned; otherwise only summary data.
Output shape
an array of consumption objects per resolution, each containing resolution and usage metrics
The structure of each item is defined by the Infomaniak API; optional fields may be omitted depending on returnFullResponse.
Examples
Example 1: Get daily video consumption for channel ID 123 from Jan 1 to Jan 31, 2024, using OAuth2.
authentication: oauth2; path_channel: 123; query_from: 2024-01-01; query_to: 2024-02-01; query_per: day; query_account_id: 456; returnFullResponse: false