metrics

Get average speed and flow rate

Calculate average object speed and flow rate for a place or sensor over a time range.

get/metrics/average-speed-with-flowrate

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.

flowrateUnit'/sec' | '/min' | '/hr'
shortLivedBehaviorMinTimeIntervalInSecinteger
stationaryObjectMinDistanceThresholdInMetersinteger
stationaryObjectMaxTimeIntervalThresholdInSecinteger

Response

Successful Operation.

Example response

{
  "metrics": [
    {
      "averageSpeed": "10",
      "flowrate": "12"
    }
  ]
}

Changes

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