Get usage analytics
Get usage analytics
GET
Get usage analytics
Authorizations
OAuth 2.1 authorization-code flow with PKCE.
FlowAuthorization Code
- Authorization URL
- https://auth.streamloop.app/api/auth/oauth2/authorize
- Token URL
- https://auth.streamloop.app/api/auth/oauth2/token
Scopes1
streamloop:read
Read streams, destinations, playlists, and billing status
Query Parameters
Aggregation window.
Available options:
DAY, WEEK, MONTH, QUARTER, YEAR Response
Successful response.
Aggregated usage analytics with time-bucketed data. Granularity depends on the period: DAY -> hourly buckets WEEK, MONTH -> daily buckets QUARTER, YEAR -> monthly buckets
Time-bucketed usage (hourly, daily, or monthly depending on period)
Breakdown by stream quality tier
Number of streaming sessions in the requested period
Total credits spent in the requested period
Total minutes in the requested period