v1

latestOpenAPI 3.1.02026-07-171921144.8 KB
realtime

List active alert rules

Return all active real-time VLM alert rules.

get/api/v1/realtime

Query parameters

sizeinteger

Maximum number of rules to return

Maximum number of rules to return

offsetinteger

Number of rules to skip (for pagination)

Number of rules to skip (for pagination)

Response

Active alert rules

statusstring
countinteger required
totalinteger

Total matching rules

Example response

{
  "count": 1,
  "rules": [
    {
      "alert_type": "collision",
      "chunk_duration": 30,
      "chunk_overlap_duration": 5,
      "created_at": "2025-06-01T12:00:00Z",
      "enable_reasoning": true,
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "live_stream_url": "rtsp://localhost:8554/media/video1",
      "model": "nvidia/cosmos3-nano-reasoner",
      "num_frames_per_second_or_fixed_frames_chunk": 10,
      "prompt": "Detect vehicle collisions.",
      "sensor_id": "cc06804c-7f11-4865-bb00-6b2db072086f",
      "sensor_name": "Camera_123",
      "status": "active",
      "system_prompt": "",
      "use_fps_for_chunking": true,
      "vlm_input_height": 256,
      "vlm_input_width": 256
    }
  ],
  "status": "success",
  "total": 1
}
All 19 operations