Stat object

Statistics are generated each time an API Call is made. Statistics are generated per call per location. Aggregated statistics are also generated for the hour, day, week, month and year (all based upon UTC).
Example:

{
  "meta": {
    "kind": "MONTH", 
    "call_id": "agxkZXZ-dmlhdGVzdHNyFwsSClRlc3RTZXR1cDIYgICAgKDDxwgM", 
    "type": "ALL", 
    "time": "2015-10-01T00:00:00Z", 
    "location_id": "", 
    "name": "API test name"
  }, 
  "stat": {
    "avg_latency": 383.5, 
    "max_latency": 749, 
    "time": "2015-10-01T00:00:00Z", 
    "count": 20
  }
}

Data available for all results:

NameTypeDescription
timeDatetimeNormalized time for the period you requested.
countIntegerNumber of API calls made in period.
max_latencyIntegerSlowest API Call made in period, in ms.
avg_latencyFloatAverage latency for the API Calls for the period specified.

Extra data available for results that passed (i.e., when type is set to COMPLETE).

NameTypeDescription
timeDatetimeNormalized time for the period you requested.
countIntegerNumber of API calls made in period.
max_latencyIntegerSlowest API Call made in period, in ms.
min_latencyIntegerFastest API Call made in period, in ms.
avg_latencyFloatAverage latency for the API Calls for the period specified.
standard_deviationFloatStandard deviation of API Call latencies for the period.
skewnessFloatSkewness of API Call latencies for the period.

Data available when requesting raw data, i.e. kind = RAW.

NameTypeDescription
timeDatetimeTime that the API Call was made.
latencyIntegerLength of time, in ms, that the API Call took to make.
http_codeIntegerHTTP response code returned.
content_lengthIntegerSize, in bytes, of the response.