---
title: Videos
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/typescript)

[Stream](https://developers.cloudflare.com/api/typescript/resources/stream)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Videos

##### [Storage use](https://developers.cloudflare.com/api/typescript/resources/stream/subresources/videos/methods/storage_usage)

client.stream.videos.storageUsage(VideoStorageUsageParams {account\_id, creator } params, RequestOptionsoptions?): [VideoStorageUsageResponse](<https://developers.cloudflare.com/api/typescript/resources/stream#(resource)%20stream.videos%20%3E%20(model)%20video_storage_usage_response%20%3E%20(schema)>) {creator, totalStorageMinutes, totalStorageMinutesLimit, videoCount }

GET/accounts/{account\_id}/stream/storage-usage

##### ModelsExpand Collapse

<details>

<summary>

VideoStorageUsageResponse {creator, totalStorageMinutes, totalStorageMinutesLimit, videoCount }

</summary>

creator?: string

A user-defined identifier for the media creator.

maxLength64

<a href="#(resource)%20stream.videos%20%3E%20(model)%20video_storage_usage_response%20%3E%20(schema)%20%3E%20(property)%20creator">Link to this property</a>

totalStorageMinutes?: number

The total minutes of video content stored in the account. May contain decimal values.

formatfloat

<a href="#(resource)%20stream.videos%20%3E%20(model)%20video_storage_usage_response%20%3E%20(schema)%20%3E%20(property)%20totalStorageMinutes">Link to this property</a>

totalStorageMinutesLimit?: number

The storage capacity alloted for the account.

<a href="#(resource)%20stream.videos%20%3E%20(model)%20video_storage_usage_response%20%3E%20(schema)%20%3E%20(property)%20totalStorageMinutesLimit">Link to this property</a>

videoCount?: number

The total count of videos associated with the account.

<a href="#(resource)%20stream.videos%20%3E%20(model)%20video_storage_usage_response%20%3E%20(schema)%20%3E%20(property)%20videoCount">Link to this property</a>

</details>

[Link to this property](<#(resource)%20stream.videos%20%3E%20(model)%20video_storage_usage_response%20%3E%20(schema)>)