Streaming Statistics
Get storage size chart
Calculates time series of the size of disk space in bytes for all processed and undeleted client videos. The data is updated every 8 hours, it does not make sense to set the granulation less than 1 day.
get/streaming/statistics/storage
Query parameters
fromstring required
Start of time frame. Datetime in ISO 8601 format.
tostring required
End of time frame. Datetime in ISO 8601 format.
granularity'1m' | '5m' | '15m' | '1h' | '1d'
specifies the time interval for grouping data
Response
OK
Example response
[
{
"client": 123,
"metrics": {
"storage": [
[
1640995210,
10000000000
],
[
1640995310,
12000000000
],
[
1640995410,
16000000000
],
[
1640995510,
20000000000
],
[
1640995610,
10000000000
]
],
"max_volume_usage": [
1640995510,
20000000000
]
}
}
]