Skip to main content
POST
Get prebilling data

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

Prebilling request

from
string<date-time>
required

Start date-time in RFC3339 format

Example:

"2026-01-01T00:00:00Z"

metrics
enum<string>[]
required
Available options:
number_of_calls,
total_runtime_mms,
exec_time,
kv_storage_size,
kv_read_count,
kv_write_size,
kv_del_count
Example:
service
string
required

Must containt FAST_EDGE value

Example:

"FAST_EDGE"

to
string<date-time>
required

End date-time in RFC3339 format

Example:

"2026-01-31T23:59:59Z"

clients
integer<int64>[]
Example:
flat
boolean

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

group_by
enum<string>[]
Available options:
client,
region,
billing_plan
Example:
networks
string[]
Example:

Response

Returns prebilling response data for the specified period

metrics
object
required
client
integer<int64>
billing_plan
string
region
string