Skip to main content
POST
Calculate Download Size

Authorizations

Authorization
string
header
required

JWT in Authorization header. 'Bearer ' prefix optional.

Body

application/json

Request to calculate total download size for selected items

asset_ids
string<uuid>[] | null

List of asset IDs to include in size calculation

directory_ids
string<uuid>[] | null

List of directory IDs to include (recursively calculates all nested assets)

variant
enum<string>
default:original

Storage variant to calculate size for (ORIGINAL or PROXY)

Available options:
original,
stream_proxy,
audio_proxy,
model_proxy,
scrub_proxy,
scrub_proxy_redacted,
scrub_preview,
scrub_preview_redacted,
preview,
doc_proxy

Response

Successful Response

Response with total download size

total_size_bytes
integer
required

Total size in bytes of all selected assets and directory contents