# Fetch VOD stream usage summary The VOD stream operations are deprecated in 2.0. This operation returns a summary of CDN usage for all VOD streams in the account. CDN usage is the amount of data that went through every Fastly stream target, including unique viewers, viewing time, and bytes of content. Endpoint: GET /usage/vod_streams/summary Version: v2.0 ## Query parameters: - `from` (string) The start of the range of time you want to view. Specify YYYY-MM-DD HH:00:00 where HH is a 24-hour clock in UTC. The range doesn't include minutes and seconds and rounds minutes up to the hour. The maximum difference between from and to is 90 days. If you set the from query parameter without setting the to query parameter, the data returned will reflect 90 days starting at the from date, or data up to to the current day, whichever is shorter. You can also specify last_bill_date. Default: last billing date - `to` (string) The end of the range of time you want to view. Specify YYYY-MM-DD HH:00:00 where HH is a 24-hour clock in UTC. The range doesn't include minutes and seconds and rounds minutes up to the hour. The maximum difference between from and to is 90 days. If you set the to query parameter without setting the from query parameter, the data returned will be from the past 90 days or from your last invoice date, whichever is shorter. You can also specify last_bill_date. Default: end of the current day ## Response 200 fields (application/json): - `summary` (object) Example: {"viewing_seconds":67925498,"viewing_bytes":22886,"egress_seconds":6348,"egress_bytes":1928166892} - `summary.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. Example: 67925498 - `summary.viewing_bytes` (integer) The amount of content, in bytes, that went through the stream target during the selected time frame. Example: 22886 - `summary.egress_seconds` (integer) The amount of time, in seconds, that it took for the stream to be processed. Example: 6348 - `summary.egress_bytes` (integer) The amount of content, in bytes, that Wowza CDN on Fastly pulled from storage during the selected time frame. Example: 1928166892 - `limits` (object) The time frame represented in the response. Example: {"from":"2021-01-07T00:00:00.000Z","to":"2021-10-05T00:00:00.000Z"} - `limits.from` (string) The start of the range of time represented in the response. Example: "2021-01-07T00:00:00.000Z" - `limits.to` (string) The end of the range of time represented in the response. Example: "2021-10-05T00:00:00.000Z" ## Response 401 fields (application/json): - `meta` (object, required) - `meta.status` (integer) - `meta.code` (string) - `meta.title` (string) - `meta.message` (string) - `meta.description` (string) - `meta.links` (array) ## Response 403 fields (application/json): - `meta` (object, required) - `meta.status` (integer) - `meta.code` (string) - `meta.title` (string) - `meta.message` (string) - `meta.description` (string) - `meta.links` (array) ## Response 404 fields (application/json): - `meta` (object, required) - `meta.status` (integer) - `meta.code` (string) - `meta.title` (string) - `meta.message` (string) - `meta.description` (string) - `meta.links` (array) ## Response 410 fields (application/json): - `meta` (object, required) - `meta.status` (integer) - `meta.code` (string) - `meta.title` (string) - `meta.message` (string) - `meta.description` (string) - `meta.links` (array) ## Response 422 fields (application/json): - `meta` (object, required) - `meta.status` (integer) - `meta.code` (string) - `meta.title` (string) - `meta.message` (string) - `meta.description` (string) - `meta.links` (array)