metrics

Get average speed

Calculate average object speed for a place or sensor over a time range, with optional filters for stationary and short-lived behaviors.

get/metrics/average-speed

Request

Query parameters

fromTimestampstring date-time required
toTimestampstring date-time required
placestring

This parameter is incompatible with sensorId. Only one of them can exist in the query.

sensorIdstring

This parameter is incompatible with place. Only one of them can exist in the query.

stationaryObjectMaxTimeIntervalThresholdInSecinteger
stationaryObjectMinDistanceThresholdInMetersinteger
shortLivedBehaviorMinTimeIntervalInSecinteger

Response

Successful Operation.

Example response

{
  "metrics": [
    {
      "averageSpeed": "10"
    }
  ]
}

Changes

No recorded changes to this operation across all 9 revisions of this API.