GET
/
streaming
/
statistics
/
storage
curl --request GET \
  --url https://api.gcore.com/streaming/statistics/storage \
  --header 'APIKey: <api-key>'
[
  {
    "client": 123,
    "metrics": {
      "storage": [
        [
          1640995210,
          10000000000
        ],
        [
          1640995310,
          12000000000
        ],
        [
          1640995410,
          16000000000
        ],
        [
          1640995510,
          20000000000
        ],
        [
          1640995610,
          10000000000
        ]
      ],
      "max_volume_usage": [
        1640995510,
        20000000000
      ]
    }
  }
]

Authorizations

APIKey
string
header
required

API key for authentication.

Query Parameters

from
string
required

Start of time frame. Datetime in ISO 8601 format.

to
string
required

End of time frame. Datetime in ISO 8601 format.

granularity
enum<string>
default:1h

specifies the time interval for grouping data

Available options:
1m,
5m,
15m,
1h,
1d

Response

200
application/json

OK

The response is of type object[].