---
title: "Fetch usage for all real-time streams"
method: GET
path: "/usage/real_time_streams"
tags: ["usage_real_time_streams"]
---

# Fetch usage for all real-time streams

`GET /usage/real_time_streams`

(Available from version 1.9) This operation returns detailed CDN usage data for all real-time streams in the account. Defaults: from = last billing date, to = end of current day.

## Query parameters

- `from` string, date-time
- `to` string, date-time
- `next_page_key` string
- `per_page` integer

## Response `200`

Success

- UsageRealTimeStreams
  - `real_time_streams` object — An array of real-time streams and the details of their CDN usage.
    - `id` string, int32 — The unique alphanumeric string that identifies the real-time stream.
    - `name` string — A descriptive name for the real-time stream. Maximum 255 characters.
    - `bytes_in` integer — The amount of content, in bytes, that came from a video source in to Wowza Video during the selected time frame.
    - `bytes_out` integer — The amount of content, in bytes, that went to a viewer during the selected time frame.
  - `pagination` object — Page information for the results generated by the query.
    - `payload_version` integer — The pagination object version.
    - `total_records` integer — The total number of records in the database that match the query.
    - `next_page_key` string — The key ID of the next page of results.
    - `per_page` integer — The number of records included on each page of results.
    - `total_pages` integer — The total number of pages generated by the query.
  - `limits` object — The time frame represented in the response.
    - `from` string, date-time — The start of the range of time represented in the response.
    - `to` string, date-time — The end of the range of time represented in the response.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `410` — Gone
- `422` — Unprocessable Entity

---

[API](https://skmtc.net/wowza/apis/wowza-video-rest-api-reference-documentation.md) · [All operations](https://skmtc.net/wowza/apis/wowza-video-rest-api-reference-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wowza/wowza-video-rest-api-reference-documentation/revisions/157b6f741f2a/schema)
