---
title: "Fetch stream target usage summary"
method: GET
path: "/usage/stream_targets/summary"
tags: ["usage"]
---

# Fetch stream target usage summary

`GET /usage/stream_targets/summary`

(Available from version 1.4) This operation returns a summary of CDN usage for all stream targets in the account. Defaults: from = last billing date, to = end of current day.

## Query parameters

- `from` string, date-time
- `to` string, date-time

## Response `200`

Success

- UsageStreamTargetSummary
  - `summary` object
    - `viewing_seconds` integer — The total length of time, in seconds, that the stream was played at the target. May be longer than the duration of the stream.
    - `viewing_bytes` integer — The amount of content, in bytes, that went through the stream target during the selected time frame.
    - `zones` object — A hash of zones with CDN usage, keyed by the name of the billing zone where the usage was generated.
      - `name` string — The name of the billing zone where the usage was generated.
      - `viewing_bytes` integer — The amount of content, in bytes, that went through the stream target during the selected time frame.
      - `type` 'fastly' — The type of stream target. <br/> **fastly** is a Wowza CDN on Fastly target.
  - `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)
