Skip to main content

get_last_detection_info

Get the most recent detection payload for a stream.

  • Method: POST
  • Path: /get_last_detection_info

Request Body

{
"stream_url": "rtsp://camera/live"
}
FieldTypeDescription
stream_urlstringRTSP URL for the stream to query.

Success Response

{
"success": true,
"message": null,
"data": {
"detections": [],
"image": "<base64 image>"
}
}
FieldTypeDescription
data.detectionsDetection[]Most recent detection events for the stream.
data.imagestringBase64-encoded image associated with the most recent detection.