Skip to main content

MotionSearchRequest

Request body for motion search.

start_timeStart Timerequired

Start timestamp for the search range

end_timeEnd Timerequired

End timestamp for the search range

polygon_pointsnumber[][]required

List of [x, y] normalized coordinates (0-1) defining the ROI polygon

thresholdThreshold

Pixel difference threshold (1-255)

Possible values: >= 1 and <= 255

Default value: 30
min_areaMin Area

Minimum change area as a percentage of the ROI

Possible values: >= 0.1 and <= 100

Default value: 5
parallelParallel

Enable parallel scanning across segments

Default value: false
max_resultsMax Results

Maximum number of search results to return

Possible values: >= 1 and <= 200

Default value: 25
MotionSearchRequest
{
"start_time": 0,
"end_time": 0,
"polygon_points": [
0
],
"threshold": 30,
"min_area": 5,
"parallel": false,
"max_results": 25
}