Skip to main content
GET
/
fastedge
/
v1
/
stats
/
app_duration
Execution duration statistics
curl --request GET \
  --url https://api.gcore.com/fastedge/v1/stats/app_duration \
  --header 'Authorization: <api-key>'
{
  "stats": [
    {
      "time": "2023-11-07T05:31:56Z",
      "min": 123,
      "max": 123,
      "avg": 123,
      "median": 123,
      "perc75": 123,
      "perc90": 123
    }
  ]
}

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

id
integer<int64>

Filter statistics by specific application ID

from
string<date-time>
required

Reporting period start time in RFC3339 format

to
string<date-time>
required

Reporting period end time in RFC3339 format (exclusive)

step
integer
default:60
required

Reporting time granularity in seconds. Common values are 60 (1 minute), 300 (5 minutes), 3600 (1 hour).

network
string<string>

Filter statistics by edge network name

Response

Returns execution duration statistics for the specified time period

stats
object[]
required