Infomaniak Streaming Video icon

Infomaniak Streaming Video

Interact with Infomaniak Streaming Video API

Actions92

Stats > Channel > Export Stats → Return Text/csv

AI-generated

Summary

Export channel statistics to CSV

Inputs

  • authentication — Authentication method (OAuth2 or API Key)
  • path_channel (required) — Channel ID to export
  • path_statistics (required) — Statistics type to export
  • query_account_id (required) — Account ID
  • query_from (required) — Start timestamp (seconds)
  • query_to — End timestamp (seconds)
  • query_per — Granularity (e.g., day, hour)
  • returnFullResponse — Return full response instead of CSV only

Output shape

CSV string

Returns only the CSV data unless returnFullResponse is true, in which case the full API response is returned.

Examples

Example 1: Export channel stats as CSV for channel ID 123 over the last month using OAuth2

authentication=oauth2, path_channel=123, path_statistics=playback, query_account_id=1, query_from=0, query_to=2592000, query_per=day, returnFullResponse=false

Links

Discussion