GET
/
fastedge
/
v1
/
admin
/
prebilling_consumption
Get prebilling consumption
curl --request GET \
  --url https://api.gcore.com/fastedge/v1/admin/prebilling_consumption \
  --header 'Authorization: <api-key>'
{
  "pagination": {
    "total_pages": 123,
    "current_page": 123,
    "limit": 123
  },
  "data": [
    {
      "client_id": 123,
      "date": "2023-12-25",
      "subproduct": "<string>",
      "metric_value": 123,
      "metric_unit": "<string>",
      "metric_name": "<string>"
    }
  ]
}

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

Query Parameters

from
string<date>
required

Start date in yyyy-MM-dd format

to
string<date>
required

End date in yyyy-MM-dd format

limit
integer
required

Limit for pagination

offset
integer
required

Offset for pagination

Response

200
application/json

Ok

The response is of type object.