POST
/
storage
/
stats
/
v1
/
storage
/
usage
/
series
curl --request POST \
  --url https://api.gcore.com/storage/stats/v1/storage/usage/series \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "from": "2006-01-02",
  "granularity": "12h",
  "locations": [
    "fra",
    "mia",
    "sin",
    "ams",
    "s-ed1",
    "s-darz1",
    "s-dt2",
    "lux",
    "drf"
  ],
  "source": 123,
  "storages": [
    "123-myStorage"
  ],
  "to": "2006-01-02",
  "ts_string": true
}'
{
  "data": {
    "clients": {}
  }
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Body

application/json

Response

200
application/json

StorageUsageSeriesEndpointRes

The response is of type object.