curl --location --request GET 'https://api.cloudflare.com/client/v4/accounts//storage/analytics/stored'
{
"errors": [],
"messages": [],
"result": {
"data": [
{
"metrics": [
[
2,
4
],
[
16,
32
]
]
}
],
"data_lag": 0,
"max": {
"storedBytes": 32,
"storedKeys": 4
},
"min": {
"storedBytes": 16,
"storedKeys": 2
},
"query": {
"dimensions": [
"namespaceId"
],
"filters": "namespaceId==a4e8cbb7-1b58-4990-925e-e026d40c4c64",
"limit": 10000,
"metrics": [
"storedBytes",
"storedKeys"
],
"since": "2019-01-02T02:20:00Z",
"sort": [
"+storedBytes",
"-namespaceId"
],
"until": "2019-01-02T03:20:00Z"
},
"rows": 2,
"totals": {
"storedBytes": 48,
"storedKeys": 6
}
},
"success": true
}