v32

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-151,1412,2144.5 MB
Billing

Get prebilling data

post/fastedge/v1/admin/prebilling

Request body

clientsinteger[]
flatboolean

This field is not actually used, it is here only to comply with Billing API. If specified, it must be set to true.

fromstring date-time required

Start date-time in RFC3339 format

group_bystring[]
metricsstring[] required
networksstring[]
servicestring required

Must containt FAST_EDGE value

tostring date-time required

End date-time in RFC3339 format

Example request

{
  "clients": [
    141309,
    1111
  ],
  "from": "2026-01-01T00:00:00Z",
  "group_by": [
    "client",
    "region",
    "billing_plan"
  ],
  "metrics": [
    "number_of_calls",
    "total_runtime_mms"
  ],
  "networks": [
    "gcore"
  ],
  "service": "FAST_EDGE",
  "to": "2026-01-31T23:59:59Z"
}

Response

Returns prebilling response data for the specified period

clientinteger
billing_planstring
regionstring