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 > Consumption → Consumption
AI-generatedSummary
Retrieve consumption statistics for an Infomaniak account
Inputs
- authentication — Authentication method: OAuth2 or API Key
- query_from (required) — Starting date for the consumption period
- query_account_id (required) — Identifier of the account to query
- queryParameters — Additional query parameters such as interval and end date
- returnFullResponse — If true, the full raw response is returned; otherwise only a summary is returned
Output shape
object containing consumption statistics
The shape varies with query parameters; may include per‑interval data and optional fields
Examples
Example 1: Authenticate via OAuth2 and fetch monthly consumption for account 12345 from 2024‑01‑01 to 2024‑01‑31
authentication=oauth2; query_from=2024-01-01; query_account_id=12345; query_per=month; query_to=1704067200; returnFullResponse=false
Example 2: Use API Key to get daily consumption for account 9876, ending at timestamp 1704153600
authentication=apiKey; query_from=2024-01-01; query_account_id=9876; query_per=day; query_to=1704153600; returnFullResponse=false
Example 3: Request full consumption response for account 5555 over a quarter period
authentication=oauth2; query_from=2023-10-01; query_account_id=5555; query_per=quarter; returnFullResponse=true