---
title: Binary Storage
---

[Skip to content](#_top)

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

[Cloudforce One](https://developers.cloudflare.com/api/python/resources/cloudforce_one)

Copy Markdown

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

---

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

# Binary Storage

##### [Retrieves a file from Binary Storage](https://developers.cloudflare.com/api/python/resources/cloudforce_one/subresources/binary_storage/methods/get)

cloudforce\_one.binary\_storage.get(strhash, BinaryStorageGetParams\*\*kwargs)

GET/accounts/{account\_id}/cloudforce-one/binary/{hash}

##### [Posts a file to Binary Storage](https://developers.cloudflare.com/api/python/resources/cloudforce_one/subresources/binary_storage/methods/create)

cloudforce\_one.binary\_storage.create(BinaryStorageCreateParams\*\*kwargs) -> [BinaryStorageCreateResponse](<https://developers.cloudflare.com/api/python/resources/cloudforce_one#(resource)%20cloudforce_one.binary_storage%20%3E%20(model)%20binary_storage_create_response%20%3E%20(schema)>)

POST/accounts/{account\_id}/cloudforce-one/binary

##### ModelsExpand Collapse

<details>

<summary>

class BinaryStorageCreateResponse: …

</summary>

content\_type: str

<a href="#(resource)%20cloudforce_one.binary_storage%20%3E%20(model)%20binary_storage_create_response%20%3E%20(schema)%20%3E%20(property)%20content_type">Link to this property</a>

md5: str

<a href="#(resource)%20cloudforce_one.binary_storage%20%3E%20(model)%20binary_storage_create_response%20%3E%20(schema)%20%3E%20(property)%20md5">Link to this property</a>

sha1: str

<a href="#(resource)%20cloudforce_one.binary_storage%20%3E%20(model)%20binary_storage_create_response%20%3E%20(schema)%20%3E%20(property)%20sha1">Link to this property</a>

sha256: str

<a href="#(resource)%20cloudforce_one.binary_storage%20%3E%20(model)%20binary_storage_create_response%20%3E%20(schema)%20%3E%20(property)%20sha256">Link to this property</a>

</details>

[Link to this property](<#(resource)%20cloudforce_one.binary_storage%20%3E%20(model)%20binary_storage_create_response%20%3E%20(schema)>)