Skip to main content

MotionSearchRequest

Request body for motion search.

start_timeStart Time (number)required

Start timestamp for the search range

end_timeEnd Time (number)required

End timestamp for the search range

polygon_pointsarray[]required

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

thresholdThreshold (integer)

Pixel difference threshold (1-255)

Possible values: >= 1 and <= 255

Default value: 30
min_areaMin Area (number)

Minimum change area as a percentage of the ROI

Possible values: >= 0.1 and <= 100

Default value: 5
frame_skipFrame Skip (integer)

Process every Nth frame (1=all frames, 5=every 5th frame)

Possible values: >= 1 and <= 30

Default value: 5
parallelParallel (boolean)

Enable parallel scanning across segments

Default value: false
max_resultsMax Results (integer)

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,
"frame_skip": 5,
"parallel": false,
"max_results": 25
}