metrics

Get flow rate

Calculate object flow rate for a place or sensor over a time window, using the requested flow-rate unit and optional behavior filters.

get/metrics/flowrate

Request

Query parameters

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.

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

Response

Successful Operation.

Example response

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

Changes

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