curl --request POST \
--url https://api.gcore.com/fastedge/v1/admin/prebilling \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"clients": [
141309,
1111
],
"flat": true,
"from": "2022-01-01T00:00:00Z",
"group_by": [
"client",
"region",
"billing_plan"
],
"metrics": [
"number_of_calls",
"total_runtime_mms"
],
"networks": [
"gcore"
],
"service": "FAST_EDGE",
"to": "2024-12-31T23:59:59Z"
}'
[
{
"metrics": {
"number_of_calls": 123,
"total_runtime_mms": 123
},
"client": 123,
"billing_plan": "<string>",
"region": "<string>"
}
]
curl --request POST \
--url https://api.gcore.com/fastedge/v1/admin/prebilling \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"clients": [
141309,
1111
],
"flat": true,
"from": "2022-01-01T00:00:00Z",
"group_by": [
"client",
"region",
"billing_plan"
],
"metrics": [
"number_of_calls",
"total_runtime_mms"
],
"networks": [
"gcore"
],
"service": "FAST_EDGE",
"to": "2024-12-31T23:59:59Z"
}'
[
{
"metrics": {
"number_of_calls": 123,
"total_runtime_mms": 123
},
"client": 123,
"billing_plan": "<string>",
"region": "<string>"
}
]
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
Prebilling request
The body is of type object
.
Ok
The response is of type object[]
.
Was this page helpful?