v1

latestOpenAPI 3.1.02026-07-171921144.8 KB
realtime

Delete an alert rule

Delete a real-time VLM alert rule.

The rule is removed from storage first, so it disappears from list/get even if RTVI VLM is unreachable.

What gets stopped

  • Caption generation for this rule is always stopped.
  • The shared RTVI stream is stopped only if this was the last rule using it. If other rules still share the stream (same sensor_id), it keeps running for them.

When you might get blocked

While POST /api/v1/realtime/replay is running, this endpoint returns 503 replay_in_progress.

delete/api/v1/realtime/{alert_rule_id}

Path parameters

alert_rule_idstring uuid required

Response

Alert rule deleted

statusstring
idstring required
messagestring required

Example response

{
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "message": "Alert rule deleted successfully",
  "status": "success"
}